/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 25px;
    margin-top: 7.5px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.beta-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    margin-left: 10px;
    margin-top: 0.5px;
    background-color: rgb(17, 109, 247);
    padding: 3px 6px;
    border-radius: 150px;
}



.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

header {
    background-color: white;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-label {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-label::before {
    content: '✉';
    margin-right: 0.5rem;
    font-size: 1rem;
}

.contact-heading {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.contact-heading h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-heading p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.contact-content-top {
    flex: 0;
}

.contact-content-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Enhanced Modern Ticker */
.contact-ticker {
    margin-top: 210px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.contact-ticker .ticker-heading {
    margin-bottom: 3rem;
    text-align: center;
    background-color: transparent;
}

.contact-ticker .ticker-heading h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: none;
    letter-spacing: 0.3px;
    margin-top: 2rem;
}

.contact-ticker .ticker-heading p {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    text-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-ticker-wrapper {
    position: relative;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.08) 100%);
    border-radius: 50px;
    padding: 1rem 0;
    overflow: hidden;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modern-ticker-wrapper::before,
.modern-ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.modern-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 100%);
}

.modern-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 100%);
}

.contact-ticker .ticker {
    animation: modern-ticker-scroll 22s linear infinite;
    display: flex;
    white-space: nowrap;
}

.contact-ticker .ticker-item {
    flex-shrink: 0;
    padding: 0 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-ticker .college-logo {
    font-size: 0.8rem;
    padding: 0.4rem 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: none;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-ticker .college-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@keyframes modern-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
/* Removed hover pause effect */

.contact-ticker .ticker-container {
    display: none;
    /* Hide old ticker container */
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.9rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.trust-badge i {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Special colors for specific badges */
.trust-badge:nth-child(1) i {
    /* Money Back */
    color: #10b981;
}

.trust-badge:nth-child(2) i {
    /* Free Trial */
    color: #f59e0b;
}

.trust-badge:nth-child(3) i {
    /* NCEA Aligned */
    color: #3b82f6;
}

.trust-badge:nth-child(4) i {
    /* 24/7 Support */
    color: #8b5cf6;
}

.trust-badge:nth-child(5) i {
    /* Secure */
    color: #ef4444;
}

.trust-badge:nth-child(6) i {
    /* Cancel Anytime */
    color: #06b6d4;
}

.contact-form-container {
    flex: 0.8;
    max-width: 450px;
    position: relative;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

/* Success and Error Message Styles */
.success-message {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.success-message h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.success-message p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.success-message .btn {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.success-message .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.error-message {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

/* Form Group Styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.optional-label {
    color: var(--gray-500);
    font-weight: 400;
    font-size: 0.8rem;
    font-style: italic;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.15);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.contact-section {
    background-color: white;
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding-right: 2rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-method .icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-method .icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.contact-method .details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-method .details p {
    margin-bottom: 0.25rem;
    color: var(--gray-600);
}

.social-links h3 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.social-icons {
    display: flex;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Enhanced Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 1.5rem;
}

.checkbox-container input {
    display: flex;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: flex;
    justify-content: center;
    align-items: center;
}



.checkbox-container span {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1;
}

/* Error and Success Messages */
.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #fecaca;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.success-message {
    background: #f0fdf4;
    color: #16a34a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    text-align: center;
}

.success-message h3 {
    color: #16a34a;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Styles for Contact Page */
@media screen and (max-width: 768px) {
    .contact-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3rem;
    }

    .contact-heading {
        width: 100%;
        max-width: 100%;
        order: 1;
        text-align: center;
    }

    .contact-form-container {
        width: 500px;
        max-width: 100%;
        order: 2;
        text-align: left;
        
    }

    .contact-ticker {
        margin-top: 2rem;
    }

    .contact-form {
        margin: 0 auto;
    }

    .contact-form-container::before {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% + 30px);
        height: calc(100% + 30px);
        right: auto;
        bottom: auto;
    }
}

@media screen and (max-width: 576px) {
    .contact-hero {
        padding: 6rem 0 2rem;
    }

    .contact-heading h1 {
        font-size: 2rem;
    }

    .contact-heading p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
        margin: 0;
    }

    .contact-form h2 {
        font-size: 1.2rem;
    }

    .contact-ticker {
        margin-top: 1.5rem;
    }

    .contact-ticker .ticker-heading p {
        font-size: 0.8rem;
    }

    .modern-ticker-wrapper {
        border-radius: 20px;
        padding: 0.6rem 0;
    }

    .modern-ticker-wrapper::before,
    .modern-ticker-wrapper::after {
        width: 30px;
    }

    .contact-ticker .ticker-item {
        padding: 0 1rem;
    }

    .contact-ticker .college-logo {
        font-size: 0.7rem;
        padding: 0.25rem 0.8rem;
        border-radius: 15px;
    }

    .trust-badges {
        gap: 0.5rem;
        margin-top: 1rem;
        padding: 0 0.5rem;
    }

    .trust-badge {
        padding: 0.4rem 0.7rem;
        border-radius: 18px;
        gap: 0.4rem;
    }

    .trust-badge i {
        font-size: 0.75rem;
    }

    .trust-badge span {
        font-size: 0.65rem;
    }

    .contact-form h2 {
        font-size: 1.2rem !important;
    }
}

/* Mobile logo sizing for contact page */
@media screen and (max-width: 480px) {
    .logo img {
        height: 18px !important;
        margin-top: 4px;
    }

    .beta-tag {
        font-size: 0.43rem !important;
        padding: 2px 5px !important;
        margin-left: 5px !important;
        margin-top: 2px;
    }
}

@media screen and (max-width: 330px) {
    .logo img {
        height: 16px !important;
        margin-top: 3px;
    }

   

   
}