/* 
    Takwin - CSS Stylesheet
    Author: Antigravity AI
    Colors based on Figma Guidelines
*/

:root {
    --primary-navy: #163766;
    --primary-blue: #4C86F7;
    --primary-purple: #4B43F0;
    --primary-green: #FFC107;
    --primary-yellow: #FFC107;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;

    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;

    --transition-fast: 0.3s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 35px -5px rgba(22, 55, 102, 0.1), 0 10px 10px -5px rgba(22, 55, 102, 0.04);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

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

.text-primary {
    color: var(--primary-blue);
}

.text-highlight {
    color: var(--primary-green);
}

.text-green {
    color: var(--primary-green);
}

.text-white {
    color: var(--white);

    h2 {
        color: var(--white);
    }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-align: center;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background-color: #1b3864;
    color: var(--white);
    box-shadow: 0 8px 15px rgba(99, 137, 198, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(99, 137, 198, 0.4);
    background-color: #4b6899;
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-navy);
    border-color: var(--white);
}

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-navy);
}

.cta-pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 137, 198, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 137, 198, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 137, 198, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    object-fit: contain;
}

.text-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-navy);
    letter-spacing: -1px;
}

.text-logo-footer {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: #152d4f;
    position: relative;
    overflow: hidden;
    color: var(--white);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
}

.hero-title .highlight {
    color: var(--primary-green);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.hero-tags {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 40px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features i {
    color: var(--primary-green);
}

.hero-image {
    position: relative;
}

.floating-img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

.glass-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
    animation-delay: -3s;
    color: var(--primary-navy);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info strong {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-info span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.5;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #2e5ea7;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    bottom: -50px;
    left: -100px;
}

/* Sections Global */
.section-header {
    margin-bottom: 60px;
    max-width: 650px;
}

.section-header.text-center {
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

/* 2. Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    transition: var(--transition-bounce);
}

.service-card:hover .icon-box {
    border-radius: 50%;
}

.icon-blue {
    background: rgba(76, 134, 247, 0.1);
    color: var(--primary-blue);
}

.icon-purple {
    background: rgba(75, 67, 240, 0.1);
    color: var(--primary-purple);
}

.icon-green {
    background: rgba(255, 193, 7, 0.15);
    color: #43A047;
}

.icon-yellow {
    background: rgba(255, 193, 7, 0.15);
    color: var(--primary-yellow);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 3. Why Us Section */
.why-us-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.why-us-image {
    position: relative;
    border-radius: var(--border-radius-lg);
}

.why-us-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 24px;
    border-radius: 50%;
    width: 130px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
}

.experience-badge strong {
    font-size: 1.8rem;
    line-height: 1;
}

.experience-badge span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* 4. How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.step-line {
    position: absolute;
    top: 35px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(76, 134, 247, 0.2);
    z-index: 1;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(76, 134, 247, 0.1);
    transition: var(--transition-bounce);
}

.step-card:hover .step-icon {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -5px;
    right: 50%;
    transform: translateX(-20px);
    width: 26px;
    height: 26px;
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    border: 2px solid var(--white);
}

.step-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* 5. Subjects Section */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.subject-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.subject-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(76, 134, 247, 0.3);
}

.subject-card i {
    font-size: 1.8rem;
    color: var(--primary-blue);
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subject-card h4 {
    margin: 0;
    font-size: 1.15rem;
}

.highlight-subject {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    color: var(--white);
}

.highlight-subject i,
.highlight-subject h4 {
    color: var(--white);
}

.highlight-subject i {
    background: rgba(255, 255, 255, 0.2);
}

/* 6. Trust/Results Section */
.trust {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0d213f 100%);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.05)"/></svg>');
}

.trust-content {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.counter-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.counter-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.counter-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.counter-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(76, 134, 247, 0.3);
    margin-bottom: 20px;
}

.testimonial-box p {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stars {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 5px;
}

/* 7. CTA Strong Section */
.cta-strong {
    background: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.cta-box {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, rgba(22, 55, 102, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.cta-box h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

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

/* 8. Registration Form Section */
.registration-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.registration-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.registration-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

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

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ci-icon {
    width: 60px;
    height: 60px;
    background: rgba(76, 134, 247, 0.1);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.ci-text {
    display: flex;
    flex-direction: column;
}

.ci-text span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.ci-text strong {
    font-size: 1.2rem;
    color: var(--primary-navy);
}

.glass-form {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius-md);
    background: var(--bg-light);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(76, 134, 247, 0.1);
}

.glass-form button {
    margin-top: 20px;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 16px;
}

/* 9. Footer */
.footer {
    background: #0B1B33;
    color: var(--text-light);
    padding: 80px 0 30px;
}

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

.footer-brand p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 400px;
    color: #FFF;
    margin-top: 10px;
}

.footer h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #FFF;
    opacity: 0.8;
    position: relative;
    padding-right: 15px;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-green);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    opacity: 1;
    padding-right: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition-bounce);
}

.social-icon:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
}

.social-icon:nth-child(3):hover {
    background: #25D366;
}

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

/* 10. Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.btn-sticky {
    flex: 1;
    padding: 16px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.call-btn {
    background: var(--white);
    color: var(--primary-navy);
}

.wa-btn {
    background: #25D366;
    color: var(--white);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .why-us-content {
        gap: 40px;
    }

    .registration-wrapper {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 50px;
    }

    .step-line {
        display: none;
    }

    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
        /* Space for sticky bar */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .glass-card {
        right: 50%;
        transform: translateX(50%);
        bottom: 10px;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        left: -10px;
    }

    .experience-badge strong {
        font-size: 1.4rem;
    }

    .registration-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mobile-sticky-bar {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .counters-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .glass-form {
        padding: 30px 20px;
    }
}

/* Motto Visual Styles */
.motto-visual {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.motto-circles {
    display: flex;
    gap: -5px;
    justify-content: center;
    align-items: center;
}

.motto-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-navy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin: 0 -5px;
    /* Overlap them slightly like rings */
}

.motto-purple {
    background-color: #5A45ED;
    color: #ffffff;
    z-index: 4;
}

.motto-blue {
    background-color: #5D93FF;
    color: #ffffff;
    z-index: 3;
}

.motto-white {
    background-color: #ffffff;
    color: #152d4f;
    z-index: 2;
}

.motto-green {
    background-color: #8CE38B;
    color: #152d4f;
    z-index: 1;
}


.motto-text-colored {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    justify-content: center;
    align-items: center;
}

.motto-word {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.purple-dot {
    background-color: #5A45ED;
}

.blue-dot {
    background-color: #5D93FF;
}

.white-dot {
    background-color: #ffffff;
}

.green-dot {
    background-color: #8CE38B;
}

.motto-circle img {
    width: 40px;
    height: 40px;
    display: flex;
    object-fit: contain;
}

.motto-circle.motto-white img {
    width: 50px;
    height: 50px;
    margin-top: -8px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: calc(100% - 40px);
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(22, 55, 102, 0.1);
}

.cookie-consent.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    font-size: 2.2rem;
    color: var(--primary-green);
}

.cookie-text {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.cookie-text strong {
    color: var(--primary-navy);
    font-size: 1.05rem;
}

.cookie-text a {
    text-decoration: underline;
    font-weight: 600;
    color: var(--primary-blue);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        gap: 15px;
        bottom: 80px;
        /* Above the mobile sticky bar */
        text-align: center;
        padding: 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent .btn {
        width: 100%;
    }
}

div#userModal {
    display: flex;
}