/* Color Palette & Variables - DWSA Institutional Brand System */
:root {
    --color-navy: #0A1A2F;
    --color-navy-dark: #030E1F;
    --color-navy-light: #112240;
    --color-gold: #D4A017;
    --color-gold-hover: #b88a14;
    --color-gold-light: #f5d77f;
    --color-green: #0F8A5F;
    --color-green-accent: #00C853;
    --color-white: #FFFFFF;
    --color-black: #060D18;
    --color-text-muted: #8892B0;
    --color-glass-border: rgba(212, 160, 23, 0.2);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-navy);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
}

.accent-font {
    font-family: var(--font-accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* Utilities */
.highlight-gold {
    color: var(--color-gold);
}

.highlight-green {
    color: var(--color-green);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-gold);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-green);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 0 15px rgba(15, 138, 95, 0.4);
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--color-gold), var(--color-green));
    z-index: -1;
    border-radius: 6px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 0.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem clamp(1rem, 2.5vw, 3%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 26, 47, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    box-sizing: border-box;
    max-width: 100vw;
}

.navbar.scrolled {
    padding: 0.65rem clamp(1rem, 2.5vw, 3%);
    background: rgba(10, 26, 47, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    flex-shrink: 0;
    margin-right: clamp(0.5rem, 1vw, 1.25rem);
    min-width: 0;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    min-width: 0;
    overflow: hidden;
}

.brand-logo-link:hover {
    transform: translateY(-1px);
}

.nav-logo-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.brand-logo-link:hover .nav-logo-icon {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(212, 160, 23, 0.5);
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: clamp(0.82rem, 0.88vw, 0.92rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(0.58rem, 0.65vw, 0.68rem);
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-br {
    display: block;
}

.nav-links {
    display: flex;
    gap: clamp(0.35rem, 0.75vw, 1.15rem);
    align-items: flex-start;
    margin-left: auto;
    flex-wrap: nowrap;
}

.nav-links li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.nav-links a,
.app-switcher-btn {
    font-family: var(--font-heading);
    font-size: clamp(0.7rem, 0.74vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--color-white);
    transition: var(--transition-smooth);
    text-align: center;
    line-height: 1.15;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    white-space: normal;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.nav-links .btn-primary {
    padding: 0.35rem clamp(0.65rem, 0.8vw, 1.1rem);
    font-size: clamp(0.7rem, 0.74vw, 0.78rem);
    line-height: 1.15;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: normal;
    letter-spacing: 0.3px;
    align-self: flex-start;
}

.nav-links a:not(.btn-primary):hover,
.app-switcher-btn:hover {
    color: var(--color-gold);
}

.nav-links a:focus-visible,
.app-switcher-btn:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(6.5rem, 11vh, 8.5rem) 5% 4rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(15, 138, 95, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(212, 160, 23, 0.1) 0%, transparent 40%);
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 2;
    padding-top: 0.5rem;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 3.8vw, 3.2rem);
    line-height: 1.15;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.glass-card .icon {
    font-size: 2rem;
}

.floating-card-1 {
    top: 8%;
    left: 5%;
    animation-delay: 0s;
}
.floating-card-2 {
    top: 42%;
    right: 5%;
    animation-delay: 2s;
}
.floating-card-3 {
    top: 76%;
    left: 12%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--color-gold);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-accent);
}

/* Identity Section (Vision & Mission) */
.identity-section {
    padding: 8rem 5%;
    background-color: var(--color-navy);
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.identity-card {
    background: var(--color-navy-light);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border-top: 4px solid var(--color-gold);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.identity-card.mission {
    border-top-color: var(--color-green);
}

.identity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.identity-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.identity-label {
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.identity-label.mission-label {
    color: var(--color-green);
}

.identity-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.identity-card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Services Section */
.services-section {
    padding: 8rem 5%;
    background-color: var(--color-navy-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--color-navy);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-green));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: var(--transition-smooth);
}

.service-card:hover .service-number {
    color: rgba(212, 160, 23, 0.08);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

/* Core Values — P.R.I.D.E. Framework Accordion */
.values-section {
    padding: 8rem 5%;
    background-color: var(--color-navy);
}

.pride-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pride-item {
    background: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.pride-item:hover, .pride-item.active {
    border-color: rgba(212, 160, 23, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.pride-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    color: var(--color-white);
}

.pride-letter {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-right: 1.5rem;
    line-height: 1;
    display: inline-block;
    width: 30px;
    text-align: center;
}

.pride-value-name {
    font-size: 1.3rem;
    font-weight: 700;
    flex-grow: 1;
    letter-spacing: 0.5px;
}

.pride-chevron {
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.pride-item.active .pride-chevron {
    transform: rotate(180deg);
    color: var(--color-gold);
}

.pride-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    padding: 0 2rem;
}

.pride-item.active .pride-body {
    padding-bottom: 2rem;
}

.pride-body p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-style: italic;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.2rem;
    margin: 0;
}

/* Case Study Section */
.case-study-section {
    padding: 8rem 5%;
    background-color: var(--color-navy-light);
}

.case-study-card {
    max-width: 1000px;
    margin: 0 auto 3rem;
    background: var(--color-navy);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 16px;
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.case-study-tag {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.case-study-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.case-study-columns {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .case-study-columns {
        flex-direction: row;
    }
}

.case-problem, .case-solution {
    flex: 1;
}

.case-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.problem-label {
    color: #ff4d4d;
}

.solution-label {
    color: var(--color-green);
}

.case-problem p, .case-solution p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.case-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .case-divider {
        width: 1px;
        height: auto;
        align-self: stretch;
    }
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2.5rem;
    text-align: center;
}

.case-metric .metric-value {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.case-metric .metric-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-cta {
    text-align: center;
}

.case-cta p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Contact Details style */
.contact-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.brand-location {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}


/* Programs Section */
.programs-section {
    padding: 8rem 5%;
}

.pricing-table {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--color-navy-light);
    padding: 3rem 2rem;
    border-radius: 12px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--color-gold);
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.05) 0%, var(--color-navy-light) 100%);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tier-name {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.features li {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
    font-weight: bold;
}

/* Flagship Section */
.flagship-section {
    padding: 0 5% 8rem;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 16px;
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-panel h2 {
    font-size: 2.8rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.glass-panel p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--color-white);
}

/* Bookshelf Section */
.bookshelf-section {
    padding: 8rem 5%;
    background-color: var(--color-navy);
}

.bookshelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    background: var(--color-navy-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: var(--color-gold);
}

.book-cover {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060f1c;
    overflow: hidden;
    border-bottom: 2px solid var(--color-gold);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.book-info h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.book-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.book-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    text-align: center;
}

/* Registration Section */
.registration-section {
    padding: 8rem 5%;
    background-color: var(--color-navy-light);
}

.registration-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.form-content {
    flex: 1;
}

.form-content h2 {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.form-content p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.form-wrapper {
    flex: 1;
    padding: 3rem;
    width: 100%;
}

.custom-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.custom-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.custom-form input,
.custom-form select {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 26, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.custom-form input:focus,
.custom-form select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.2);
}

.custom-form option {
    background: var(--color-navy-light);
    color: var(--color-white);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .registration-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Community Section */
.community-section {
    padding: 8rem 5%;
    background: linear-gradient(to right, var(--color-green), #0a6646);
    text-align: center;
    color: var(--color-navy);
}

.community-section h2 {
    color: var(--color-navy);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.community-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
}

.community-section .btn-primary {
    background-color: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.community-section .btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
    box-shadow: 0 0 20px rgba(10, 26, 47, 0.3);
}

/* Footer */
.footer {
    background: #050d18;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-info h3 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.brand-info p {
    color: var(--color-text-muted);
    font-family: var(--font-accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.social-links a {
    color: var(--color-text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--color-green);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition-smooth);
}

.social-icon:hover svg {
    transform: translateY(-3px);
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations & Interactivity */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Classes */
.observe-me {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.observe-me.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-graphics {
        width: 100%;
        height: auto;
        position: static;
        margin-top: 4rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .hero-graphics .glass-card {
        position: static;
        flex: 1 1 200px;
        max-width: 260px;
        transform: none;
        animation: float-simple 6s ease-in-out infinite;
    }

    .hero-graphics .floating-card-1 { animation-delay: 0s; }
    .hero-graphics .floating-card-2 { animation-delay: 2s; }
    .hero-graphics .floating-card-3 { animation-delay: 4s; }
    
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

@keyframes float-simple {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Mobile Navbar Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* Active hamburger icon transform */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ── App Switcher Navigation Component ───────────────────────────────── */
.app-switcher-nav-item {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.app-switcher {
    position: relative;
    display: flex;
    align-items: flex-start;
}

.app-switcher-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    line-height: 1.15;
}

.app-switcher-btn .chevron-icon {
    transition: transform 0.3s ease;
    margin-top: 1px;
}

.app-switcher.active .app-switcher-btn .chevron-icon {
    transform: rotate(180deg);
}

.app-switcher-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 290px;
    background: rgba(17, 34, 64, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.app-switcher.active .app-switcher-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.app-switcher-header {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.25rem;
}

.app-switcher-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.app-switcher-item:hover {
    background: rgba(212, 160, 23, 0.12);
    transform: translateX(4px);
}

.app-switcher-item .app-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.app-switcher-item:hover .app-icon {
    background: rgba(212, 160, 23, 0.25);
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.4);
}

.app-switcher-item .app-details {
    display: flex;
    flex-direction: column;
}

.app-switcher-item .app-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-white);
}

.app-switcher-item .app-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ── Product Suite Section & Grid ────────────────────────────────────── */
.products-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    position: relative;
}

.product-suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 160, 23, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.product-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.6rem;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    border-radius: 20px;
}

.product-icon {
    margin-bottom: 1.25rem;
}

.product-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.product-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.product-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 1220px) {
    .navbar {
        padding: 0.85rem 4%;
    }

    .logo {
        margin-right: 0;
        flex: 1;
        min-width: 0;
    }

    .brand-logo-link {
        gap: 0.55rem;
        max-width: calc(100vw - 120px);
    }

    .nav-logo-icon {
        height: 36px;
        padding: 3px 5px;
        flex-shrink: 0;
    }

    .nav-logo-text {
        min-width: 0;
        overflow: hidden;
    }

    .logo-title {
        font-size: 0.82rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
        margin-left: 1rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 26, 47, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 999;
        gap: 1.5rem;
        padding-top: 6rem;
        padding-bottom: 3rem;
        overflow-y: auto;
        list-style: none;
        margin: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-br {
        display: none;
    }

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 1.5px;
        padding: 0.5rem 0;
        display: inline-block;
        line-height: 1.5;
    }

    .app-switcher-nav-item {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .app-switcher {
        width: 100%;
        max-width: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-switcher-btn {
        font-size: 1rem;
        letter-spacing: 1.5px;
        padding: 0.5rem 1rem;
    }

    .app-switcher-dropdown {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        max-width: 300px;
        margin-top: 0.5rem;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        background: rgba(17, 34, 64, 0.9);
        border: 1px solid rgba(212, 160, 23, 0.3);
        border-radius: 10px;
        padding: 0.5rem;
        transition: none;
    }

    .app-switcher.active .app-switcher-dropdown {
        display: flex !important;
        flex-direction: column;
        transform: none !important;
    }

    .glass-panel h2 {
        font-size: 2rem;
    }

    .community-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.8rem 4%;
    }

    .brand-logo-link {
        gap: 0.45rem;
        max-width: calc(100vw - 100px);
    }

    .nav-logo-icon {
        height: 32px;
        padding: 2px 4px;
    }

    .logo-title {
        font-size: 0.76rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 400px) {
    .navbar {
        padding: 0.75rem 3%;
    }

    .brand-logo-link {
        gap: 0.35rem;
        max-width: calc(100vw - 80px);
    }

    .nav-logo-icon {
        height: 28px;
        padding: 2px 3px;
    }

    .logo-title {
        font-size: 0.68rem;
        letter-spacing: 0;
    }

    .logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }
}

/* Video Section */
.video-section {
    padding: 8rem 5%;
    background-color: var(--color-navy);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid var(--color-gold);
}

.intro-video,
.video-wrapper iframe {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16 / 9;
    border: none;
}



/* ── Mobile Dropdown Final Override (must stay at end of file) ─────────────── */
@media (max-width: 1220px) {
    /* Force the dropdown to be fully hidden when Products is not tapped */
    .nav-links .app-switcher-dropdown {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 300px !important;
        margin: 0.5rem auto 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: none !important;
    }

    /* Show it inline only when Products is tapped */
    .nav-links .app-switcher.active .app-switcher-dropdown {
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
    }

    /* Ensure app-switcher items don't overflow or get cut off */
    .nav-links .app-switcher-item {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .nav-links .app-name,
    .nav-links .app-desc {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── 🤖 AI Coding Academy Campaign Advert Section ────────────────────────── */
.campaign-advert-section {
    padding: 5rem 5%;
    background:
        radial-gradient(ellipse at 0% 50%, rgba(0, 200, 255, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(212, 160, 23, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(99, 0, 255, 0.12) 0%, transparent 55%),
        linear-gradient(160deg, #030e1f 0%, #061428 60%, #091e3a 100%);
    border-top: 2px solid rgba(0, 210, 255, 0.35);
    border-bottom: 2px solid rgba(212, 160, 23, 0.25);
    text-align: center;
}

.campaign-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: left;
}

.campaign-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.45);
    border-radius: 30px;
    padding: 0.4rem 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.12);
}

.campaign-header-badge .badge-icon {
    font-size: 1.1rem;
}

.campaign-header-badge #adv-sub-badge {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: var(--color-gold);
    letter-spacing: 1px;
    font-weight: 700;
}

.campaign-header-badge .badge-tag {
    background: linear-gradient(135deg, var(--color-gold), #e5a910);
    color: #0a1a2f;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.campaign-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: stretch;
}

/* ── Centre image panel ── */
.campaign-image-panel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 2px rgba(0,210,255,0.3), 0 25px 60px rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
}

.campaign-students-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 340px;
    transition: transform 0.5s ease;
}

.campaign-image-panel:hover .campaign-students-img {
    transform: scale(1.03);
}

.campaign-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(3,14,31,0.95) 0%, transparent 100%);
    color: #fff;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 1.5rem 1rem 1rem;
    text-align: center;
}

.campaign-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-shadow: 0 0 40px rgba(0,210,255,0.25);
}

.campaign-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.campaign-pills {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.campaign-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 210, 255, 0.07);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    flex: 1;
    min-width: 180px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.campaign-pill:hover {
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.15);
}

.campaign-pill .pill-icon {
    font-size: 1.4rem;
}

.campaign-pill strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.campaign-pill span {
    font-size: 0.75rem;
    color: var(--color-gold);
    font-weight: 700;
}

.deliverables-box {
    background: linear-gradient(135deg, rgba(0,210,255,0.06) 0%, rgba(212,160,23,0.07) 100%);
    border: 1px solid rgba(212, 160, 23, 0.35);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: inset 0 0 30px rgba(212,160,23,0.04);
}

.deliverables-box h3 {
    font-size: 1rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-family: var(--font-accent);
    letter-spacing: 1px;
}

.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.deliverables-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--color-white);
}

.deliverables-list .check-icon {
    color: #4ade80;
    font-weight: bold;
    background: rgba(74, 222, 128, 0.15);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Pricing Card Right Side */
.campaign-pricing-card {
    background: linear-gradient(160deg, rgba(9,24,50,0.97) 0%, rgba(5,15,35,0.97) 100%);
    border: 2px solid var(--color-gold);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(212,160,23,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}

.pricing-header-ribbon {
    position: absolute;
    top: -14px;
    right: 20px;
    background: linear-gradient(135deg, #ff4d4d, #e60000);
    color: white;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(230, 0, 0, 0.4);
}

.early-bird-box {
    background: linear-gradient(135deg, rgba(212,160,23,0.14) 0%, rgba(255,180,0,0.08) 100%);
    border: 1px solid rgba(212, 160, 23, 0.55);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(212,160,23,0.1);
}

.price-label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.price-value {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.price-sub {
    font-size: 0.8rem;
    color: #4ade80;
    margin-top: 0.4rem;
    margin-bottom: 0;
}

.secondary-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-chip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
}

.price-chip span {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.price-chip strong {
    font-size: 1.1rem;
    color: var(--color-white);
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.open-apply-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-align: center;
    justify-content: center;
}

.whatsapp-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.whatsapp-support-link:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
}

.whatsapp-support-link small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.whatsapp-support-link strong {
    font-size: 0.95rem;
}

.campaign-footer-location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1.25rem;
}

/* ── Modal Dialogs ───────────────────────────────────────────────────────── */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 47, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(17, 34, 64, 0.95);
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 540px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-white);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.modal-badge {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    color: var(--color-gold);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.4rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 0.4rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.apply-form .form-group {
    margin-bottom: 1.25rem;
}

.apply-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-white);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.apply-form input,
.apply-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: var(--color-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.apply-form select option {
    background: #0a1a2f;
    color: white;
}

.apply-form input:focus,
.apply-form select:focus {
    border-color: var(--color-gold);
    outline: none;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .half {
    flex: 1;
}

.full-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.form-status-msg {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Receipt Card */
.receipt-card {
    text-align: center;
}

.receipt-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.receipt-sub {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.bank-details-box {
    background: rgba(10, 26, 47, 0.8);
    border: 1px dashed rgba(212, 160, 23, 0.4);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-white);
}

.summary-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.bank-accounts-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
}

.bank-account-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.75rem 1rem;
}

.bank-title {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.acc-number-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-num {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-white);
}

.copy-btn {
    background: rgba(212, 160, 23, 0.2);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--color-gold);
    color: #0a1a2f;
}

.receipt-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wa-confirm-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;

}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Campaign Advert Section
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (≤1100px): image spans full width on top, info+pricing side-by-side ── */
@media (max-width: 1100px) {
    .campaign-advert-section {
        padding: 4rem 4%;
    }
    .campaign-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .campaign-image-panel {
        grid-column: 1 / -1;   /* full width */
        order: -1;              /* sits above info+pricing */
    }
    .campaign-students-img {
        min-height: 240px;
        max-height: 300px;
        object-fit: cover;
    }
    .campaign-title {
        font-size: 2.6rem;
    }
}

/* ── Mobile (≤768px): everything stacks into a single column ── */
@media (max-width: 768px) {
    .campaign-advert-section {
        padding: 3rem 5%;
        text-align: center;
    }
    .campaign-container {
        text-align: center;
    }
    .campaign-header-badge {
        justify-content: center;
    }
    .campaign-hero-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    .campaign-image-panel {
        grid-column: auto;
        order: 0;              /* info first, then image, then pricing */
        border-radius: 14px;
    }
    .campaign-students-img {
        min-height: 200px;
        max-height: 240px;
    }
    .campaign-title {
        font-size: 2.1rem;
        text-align: center;
    }
    .campaign-desc {
        text-align: center;
    }
    .campaign-pills {
        justify-content: center;
    }
    .campaign-pill {
        min-width: 140px;
        flex: 1 1 140px;
        justify-content: center;
        text-align: left;
    }
    .deliverables-box {
        text-align: left;
    }
    .campaign-pricing-card {
        padding: 1.5rem;
    }
    .price-value {
        font-size: 2.4rem;
    }
    .pricing-header-ribbon {
        right: 12px;
        font-size: 0.68rem;
    }
}

/* ── Small phones (≤420px) ── */
@media (max-width: 420px) {
    .campaign-title {
        font-size: 1.8rem;
    }
    .campaign-students-img {
        min-height: 170px;
        max-height: 210px;
    }
    .secondary-pricing-grid {
        grid-template-columns: 1fr;
    }
    .campaign-pill {
        min-width: 100%;
        flex: 1 1 100%;
    }
}

/* Form row stacking */
@media (max-width: 960px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ═════════════════════════════════════════════════════════════════
   DWSA INSTITUTIONAL ENHANCEMENT STYLES (Governance Manual v1.1)
   ═════════════════════════════════════════════════════════════════ */

.institutional-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.institutional-badge.green-badge {
    background: rgba(15, 138, 95, 0.12);
    border-color: var(--color-green-accent);
    color: var(--color-green-accent);
}

.btn-secondary.btn-green {
    background: transparent;
    border: 2px solid var(--color-green-accent);
    color: var(--color-green-accent);
}
.btn-secondary.btn-green:hover {
    background: var(--color-green-accent);
    color: var(--color-black);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4);
}

.hero-actions-trio {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero-positioning-statement {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 900px;
    margin: 1.25rem auto 0;
    line-height: 1.7;
    font-weight: 400;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.25rem;
    text-align: left;
    background: rgba(10, 26, 47, 0.6);
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

/* Strategic Pillars Section */
.pillars-section {
    padding: 6rem 5%;
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: var(--color-navy-light);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-green-accent));
    opacity: 0;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 160, 23, 0.15);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-number {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(212, 160, 23, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.pillar-card:nth-child(2) .pillar-icon {
    background: rgba(15, 138, 95, 0.15);
    color: var(--color-green-accent);
}

.pillar-card:nth-child(3) .pillar-icon {
    background: rgba(0, 210, 255, 0.12);
    color: #00d2ff;
}

.pillar-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pillar-capabilities-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.pillar-capabilities-list li {
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pillar-capabilities-list li::before {
    content: "✦";
    color: var(--color-gold);
    font-size: 0.75rem;
}

/* Strategic Technology Domains */
.domains-section {
    padding: 6rem 5%;
    background: var(--color-navy-dark);
    text-align: center;
}

.domains-diagram-wrapper {
    margin-top: 3rem;
    background: var(--color-navy-light);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.domains-core-hub {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b88a14 100%);
    color: var(--color-black);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.4);
    margin-bottom: 2rem;
}

.domains-subhead {
    font-size: 1.1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    font-family: var(--font-accent);
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.domain-chip {
    background: rgba(10, 26, 47, 0.8);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.domain-chip:hover {
    border-color: var(--color-green-accent);
    background: rgba(15, 138, 95, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.2);
}

.domain-chip svg {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
}

.domain-chip:hover svg {
    color: var(--color-green-accent);
}

.domain-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-white);
}

/* Quote Box Component */
.institutional-quote-box {
    background: linear-gradient(135deg, rgba(15, 138, 95, 0.15) 0%, rgba(10, 26, 47, 0.8) 100%);
    border-left: 4px solid var(--color-green-accent);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #f1f5f9;
    font-style: italic;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quote-author {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Future Schools Grid (Academy Page) */
.future-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.future-school-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px dashed rgba(212, 160, 23, 0.3);
    border-radius: 14px;
    padding: 1.75rem;
    position: relative;
    transition: var(--transition-smooth);
}

.future-school-card:hover {
    border-style: solid;
    border-color: var(--color-gold);
    background: rgba(17, 34, 64, 0.95);
    transform: translateY(-5px);
}

.future-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 160, 23, 0.15);
    color: var(--color-gold);
    border-radius: 20px;
    border: 1px solid var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Governance & Responsibility Grid */
.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.governance-card {
    background: var(--color-navy-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.governance-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}

.governance-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(15, 138, 95, 0.2);
    color: var(--color-green-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* Architecture SVG Container */
.arch-diagram-container {
    margin: 3rem auto 0;
    max-width: 1000px;
    background: rgba(3, 14, 31, 0.9);
    border: 1px solid var(--color-gold);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.arch-svg-graphic {
    width: 100%;
    height: auto;
}

.arch-diagram-title {
    text-align: center;
    color: var(--color-gold);
    font-family: var(--font-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.arch-scroll-hint {
    display: none;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-family: var(--font-accent);
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.arch-svg-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Governance & R&D Specific Components ── */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.philosophy-card {
    background: rgba(17, 34, 64, 0.7);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 14px;
    padding: 1.75rem;
    transition: var(--transition-smooth);
}

.philosophy-card:hover {
    border-color: var(--color-green-accent);
    background: rgba(17, 34, 64, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 83, 0.15);
}

.philosophy-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.philosophy-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Innovation Process Flow */
.process-svg-wrapper {
    background: rgba(3, 14, 31, 0.95);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.collaboration-card {
    background: rgba(10, 26, 47, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.collaboration-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    background: rgba(17, 34, 64, 0.9);
}

.collaboration-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.collaboration-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-white);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE OVERRIDES (Tablets & Mobile)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Global safety */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
}

.section-description {
    font-size: clamp(0.95rem, 2vw + 0.2rem, 1.15rem);
    color: #cbd5e1;
    line-height: 1.8;
    margin-top: 1rem;
}

.who-we-are-section {
    padding: 6rem 5%;
    background: var(--color-navy-dark);
}

.who-we-are-section .section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* ── Tablets (≤960px) ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero,
    .who-we-are-section,
    .pillars-section,
    .domains-section,
    .campaign-advert-section,
    .products-section,
    .identity-section,
    .services-section,
    .values-section,
    .case-study-section,
    .video-section,
    .bookshelf-section,
    .registration-section,
    .community-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
        padding-left: 4.5%;
        padding-right: 4.5%;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 7.5rem;
        min-height: auto;
        padding-bottom: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 5.5vw, 3.2rem);
        line-height: 1.15;
    }

    .hero-positioning-statement {
        font-size: 1.02rem;
        padding: 1rem 1.25rem;
        margin: 1.25rem auto 0;
        text-align: left;
    }

    .hero-actions-trio {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 480px;
        margin: 1.75rem auto 0;
    }

    .hero-actions-trio .btn-primary,
    .hero-actions-trio .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }

    .hero-graphics {
        width: 100%;
        height: auto;
        position: static;
        margin-top: 3rem;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-graphics .glass-card {
        position: static;
        flex: 1 1 220px;
        max-width: 280px;
        transform: none;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

    .arch-scroll-hint {
        display: block;
    }

    .arch-svg-graphic {
        min-width: 680px;
    }

    .product-suite-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .registration-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .form-wrapper {
        padding: 2rem 1.5rem;
    }

    .case-study-card {
        padding: 2.5rem 2rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        max-width: 92vw;
    }
}

/* ── Mobile Phones (≤640px) ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .who-we-are-section,
    .pillars-section,
    .domains-section,
    .campaign-advert-section,
    .products-section,
    .identity-section,
    .services-section,
    .values-section,
    .case-study-section,
    .video-section,
    .bookshelf-section,
    .registration-section,
    .community-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
        padding-left: 4%;
        padding-right: 4%;
    }

    .navbar {
        padding: 0.75rem 4%;
    }

    .brand-logo-link {
        gap: 0.5rem;
        max-width: calc(100vw - 80px);
    }

    .nav-logo-icon {
        height: 34px;
        padding: 2px 4px;
    }

    .logo-title {
        font-size: 0.8rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .institutional-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-positioning-statement {
        font-size: 0.92rem;
        padding: 0.85rem 1rem;
        line-height: 1.6;
    }

    .domains-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
    }

    .domain-chip {
        padding: 1rem 0.6rem;
    }

    .domain-title {
        font-size: 0.82rem;
    }

    .domains-core-hub {
        font-size: 0.95rem;
        padding: 0.75rem 1.5rem;
    }

    .domains-diagram-wrapper {
        padding: 1.75rem 1rem;
        border-radius: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .pride-header {
        padding: 1.2rem 1.25rem;
    }

    .pride-letter {
        font-size: 1.8rem;
        margin-right: 1rem;
    }

    .pride-value-name {
        font-size: 1.1rem;
    }

    .pride-body {
        padding: 0 1.25rem;
    }

    .pride-item.active .pride-body {
        padding-bottom: 1.5rem;
    }

    .pride-body p {
        font-size: 0.95rem;
    }

    .case-study-card {
        padding: 1.75rem 1.25rem;
    }

    .case-study-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .case-metrics {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bookshelf-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .book-cover {
        height: 260px;
    }

    .book-info {
        padding: 1.5rem;
    }

    .form-wrapper {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .custom-form input,
    .custom-form select {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 3rem 4% 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }
}

/* ── Small Phones (≤380px) ──────────────────────────────────────────────── */
@media (max-width: 380px) {
    .domains-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .price-value {
        font-size: 2.2rem;
    }

    .brand-logo-link {
        max-width: calc(100vw - 70px);
    }
}


