/* Contact Page Styles */

/* Banner Styles */
.contact-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-banner.jpg');
    background-color: #1a3c6e; /* Fallback background color */
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 80px; /* Increased space between header and banner */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* For animation elements */
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
    opacity: 0.85;
    z-index: 1;
}

/* Animated elements */
.contact-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: float 15s infinite linear;
}

.animated-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.circle-1 {
    width: 120px;
    height: 120px;
    bottom: -60px;
    left: 10%;
    animation: float 20s infinite ease-in-out;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 5%;
    animation: float 15s infinite ease-in-out reverse;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 10%;
    animation: float 18s infinite ease-in-out 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.contact-banner .banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-banner h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff; /* White text */
    display: inline-block;
    border-bottom: 2px solid #4a90e2; /* Blue underline */
}

.contact-banner h1 span {
    position: relative;
    display: inline-block;
    animation: pulse 2s infinite;
    color: #ffffff; /* White text */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.banner-divider {
    height: 4px;
    width: 80px;
    background-color: #4a90e2;
    margin: 25px auto;
    border-radius: 2px;
    position: relative;
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.contact-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    color: #ffffff; /* Ensure text is white */
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Contact Section */
.contact-main-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

/* Contact Form Styles */
.contact-form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #4a90e2;
    outline: none;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Contact Info Styles */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.contact-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info-header i {
    font-size: 1.5rem;
    color: #4a90e2;
    margin-right: 15px;
}

.contact-info-header h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card .hours {
    font-style: italic;
    color: #888;
}

.contact-info-card a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: #2a70c2;
    text-decoration: underline;
}

.contact-info-card .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-info-card .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.3s;
}

.contact-info-card .social-links a:hover {
    background-color: #4a90e2;
    color: #fff;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.8rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.faq-toggle {
    color: #4a90e2;
    font-size: 1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-banner h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .contact-main-section,
    .map-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .contact-form-container,
    .contact-info-card {
        padding: 25px;
    }
    
    .contact-banner {
        padding: 80px 0;
    }
    
    .contact-banner h1 {
        font-size: 2.8rem;
    }
    
    .contact-banner p {
        font-size: 1.1rem;
    }
    
    #map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-form-container,
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-banner {
        padding: 60px 0;
    }
    
    .contact-banner h1 {
        font-size: 2.2rem;
    }
    
    .contact-banner p {
        font-size: 1rem;
    }
    
    .banner-divider {
        margin: 15px auto;
        width: 60px;
    }
}

/* Partner Page Styles */

/* Banner Styles */
.partner-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/partner-banner.jpg');
    background-color: #1a3c6e;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
    position: relative;
    margin-top: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
    opacity: 0.85;
    z-index: 1;
}

.partner-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.hero-text h1 span {
    color: #DAA520;
    display: inline-block;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #DAA520;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-text .btn:hover {
    background-color: #B8860B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(218, 165, 32, 0.3);
}

/* MOBILE REDESIGN */
@media (max-width: 768px) {
    .partner-hero {
        padding: 40px 0;
        margin-top: 60px;
        min-height: 0;
        height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Mobile-optimized text container */
    .hero-text {
        text-align: center;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    /* Mobile-optimized button */
    .hero-text .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
        display: inline-block;
        margin: 0 auto;
    }
    
    /* Mobile-optimized image container */
    .hero-image {
        margin: 20px auto 0;
        max-width: 90%;
        order: -1; /* Move image above text on mobile */
    }
    
    .hero-image img {
        max-width: 100%;
        height: auto;
        border-width: 2px;
        border-radius: 8px;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .partner-hero {
        padding: 30px 0;
        margin-top: 60px;
    }
    
    .hero-text h1 {
        font-size: 1.6rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-image {
        max-width: 85%;
    }
}

/* Very small devices */
@media (max-width: 400px) {
    .partner-hero {
        padding: 25px 0;
    }
    
    .hero-text h1 {
        font-size: 1.4rem;
    }
    
    .hero-text p {
        font-size: 0.85rem;
    }
    
    .hero-text .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        max-width: 80%;
    }
}

/* Benefits Section */
.partner-benefits {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.partner-benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.partner-benefits h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #DAA520;
    transition: width 0.5s ease;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #DAA520; /* Golden color */
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 1;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Partner Types Section */
.partner-types {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.partner-types::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(218, 165, 32, 0.03); /* Golden color */
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.partner-types h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.partner-types h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #DAA520; /* Golden color */
    transition: width 0.5s ease;
}

.partner-types:hover h2::after {
    width: 120px;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.type-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

/* Custom icons for partnership types */
.type-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.type-card:nth-child(1)::before {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2602/2602414.png'); /* University/Education icon */
}

.type-card:nth-child(2)::before {
    background-image: url('https://cdn-icons-png.flaticon.com/512/1087/1087840.png'); /* Corporate/Business icon */
}

.type-card:nth-child(3)::before {
    background-image: url('https://cdn-icons-png.flaticon.com/512/3270/3270967.png'); /* Training icon */
}

.type-card:nth-child(4)::before {
    background-image: url('https://cdn-icons-png.flaticon.com/512/2421/2421271.png'); /* Technology icon */
}

.type-card:hover::before {
    opacity: 0.2;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: #DAA520; /* Golden border on hover */
}

.type-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.type-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #DAA520; /* Golden color */
    transition: width 0.3s ease;
}

.type-card:hover h3::after {
    width: 50px;
}

.type-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.type-card ul li {
    margin-bottom: 10px;
    color: #666;
    position: relative;
}

.type-card ul li::before {
    content: '✓';
    color: #DAA520; /* Golden color */
    position: absolute;
    left: -20px;
    font-weight: bold;
}

/* Standard Typical Form Style Redesign */
.partner-form {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.partner-form .container {
    max-width: 800px;
    margin: 0 auto;
}

.partner-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

/* Standard form container */
.form-wrapper {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Form introduction */
.form-intro {
    margin-bottom: 25px;
}

.form-intro p {
    color: #555;
    font-size: 16px;
    line-height: 1.5;
}

/* Standard form group */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/* Required field indicator */
.form-group label.required:after {
    content: "*";
    color: #e74c3c;
    margin-left: 4px;
}

/* Standard form inputs */
.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Textarea */
textarea.form-control {
    height: auto;
    min-height: 100px;
}

/* Select dropdown */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Form row for side-by-side fields */
.form-row {
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row > .form-group {
    padding-right: 10px;
    padding-left: 10px;
    flex: 1;
}

/* Checkbox and radio styling */
.form-check {
    position: relative;
    display: block;
    padding-left: 25px;
    margin-bottom: 10px;
}

.form-check-input {
    position: absolute;
    margin-top: 4px;
    margin-left: -25px;
}

.form-check-label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Submit button */
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    font-size: 16px;
    line-height: 1.5;
    border-radius: 4px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    display: inline-block;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-primary:focus {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}

.btn-primary:active {
    color: #fff;
    background-color: #0062cc;
    border-color: #005cbf;
}

/* Form actions container */
.form-actions {
    margin-top: 30px;
    text-align: right;
}

/* Help text */
.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

/* Error state */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .partner-form h2 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .partner-form {
        padding: 40px 0;
    }
    
    .form-wrapper {
        padding: 15px;
    }
    
    .form-actions {
        text-align: center;
    }
    
    .btn-primary {
        width: 100%;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(218, 165, 32, 0.03); /* Golden color */
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #DAA520; /* Golden color */
    transition: width 0.5s ease;
}

.testimonials-section:hover h2::after {
    width: 120px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(218, 165, 32, 0.1); /* Golden color */
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid rgba(218, 165, 32, 0.3); /* Golden border */
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: #888;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(218, 165, 32, 0.03); /* Golden color */
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #DAA520; /* Golden color */
    transition: width 0.5s ease;
}

.faq-section:hover h2::after {
    width: 120px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item:hover .faq-question {
    background-color: rgba(218, 165, 32, 0.05); /* Golden background on hover */
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #DAA520; /* Golden color on hover */
}

.faq-toggle {
    color: #DAA520; /* Golden color */
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item:hover .faq-toggle {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .benefits-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .partner-hero {
        padding: 60px 0;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: 30px;
        padding-right: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .benefits-grid,
    .types-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .partner-hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .form-wrapper {
        padding: 20px;
    }
    
    .benefit-card,
    .type-card,
    .testimonial-card {
        padding: 20px;
    }
}

/* Partner Benefits Section - Mobile Fix */
.partner-benefits {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.partner-benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.partner-benefits h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #DAA520;
    transition: width 0.5s ease;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Mobile specific fixes */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-benefits h2 {
        font-size: 2rem;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .partner-benefits {
        padding: 60px 0;
        display: block !important; /* Force display */
        visibility: visible !important; /* Ensure visibility */
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 25px;
        margin-bottom: 20px;
        display: block !important; /* Force display */
        visibility: visible !important; /* Ensure visibility */
    }
    
    .partner-benefits h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        display: block !important; /* Force display */
        visibility: visible !important; /* Ensure visibility */
        width: 100%;
        left: 0;
        transform: none;
        text-align: center;
    }
    
    .partner-benefits .container {
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        display: block !important; /* Force display */
    }
    
    .benefit-icon {
        margin-bottom: 15px;
        display: block !important; /* Force display */
    }
}

@media (max-width: 576px) {
    .partner-benefits {
        padding: 40px 0;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .partner-benefits h2 {
        font-size: 1.6rem;
    }
}

/* Fix for any potential z-index issues */
.partner-benefits {
    z-index: 5;
    position: relative;
}

/* Fix for any potential overflow issues */
.partner-benefits .container {
    overflow: visible;
}

/* Ensure content is visible */
.benefit-card h3,
.benefit-card p,
.benefit-card .benefit-icon {
    position: relative;
    z-index: 2;
}

/* Additional decorative elements for mobile */
.mobile-shape-1 {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 15%;
    left: 15%;
    background: rgba(218, 165, 32, 0.1);
    transform: rotate(45deg);
    z-index: 1;
    animation: pulse 4s infinite ease-in-out;
}

.mobile-shape-2 {
    position: absolute;
    width: 30px;
    height: 30px;
    bottom: 20%;
    right: 20%;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.08);
    z-index: 1;
    animation: pulse 3s infinite ease-in-out 1s;
}

.mobile-shape-3 {
    position: absolute;
    width: 50px;
    height: 3px;
    top: 40%;
    right: 5%;
    background: rgba(218, 165, 32, 0.2);
    z-index: 1;
    animation: width-pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1) rotate(45deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) rotate(90deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(45deg);
        opacity: 0.5;
    }
}

@keyframes width-pulse {
    0% {
        width: 50px;
        opacity: 0.5;
    }
    50% {
        width: 80px;
        opacity: 0.8;
    }
    100% {
        width: 50px;
        opacity: 0.5;
    }
} 