/* Page-specific Styles - Modern Layout Design */

/* Import Team & About Components */
@import './components/team.css';

/* Page Layout Structure */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-main {
    flex: 1;
    padding-top: 80px; /* Account for fixed navbar */
}

/* Modern Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, #002266 100%);
    color: white;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.page-header .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.page-header p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.breadcrumb-nav a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: var(--primary-blue-dark);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

/* Navigation Active State */
.nav-link.active {
    color: var(--primary-blue) !important;
    font-weight: 600;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-link.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-link.disabled:hover {
    background-color: transparent;
    color: #333;
    border-color: #ddd;
}

/* Q&A Section Styles */
.qa-categories {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.qa-category {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.qa-category:hover,
.qa-category.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.qa-list {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

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

.qa-question:hover {
    background: #e9ecef;
}

.qa-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.qa-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.qa-answer {
    padding: 20px;
    background: white;
    display: none;
    border-top: 1px solid #e0e0e0;
}

.qa-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.qa-actions {
    text-align: center;
    margin-top: 40px;
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Video Section Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(0,102,204,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

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

.video-info p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.video-duration {
    background: var(--primary-blue);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.videos-actions {
    text-align: center;
    gap: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Styles */
.contact-content {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.contact-card.featured {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}

.contact-card p strong {
    color: var(--text-secondary);
    font-weight: 500;
}

.form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form h2 {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafbfc;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background: #fff;
}

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

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Simple Checkbox Styles */
.simple-checkbox {
    margin-bottom: 16px;
}

.simple-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
}

.simple-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
    flex-shrink: 0;
}

.simple-checkbox-label:hover {
    color: var(--text-secondary);
}

.simple-checkbox-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.simple-checkbox-label a:hover {
    text-decoration: underline;
}

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.faq-item h4 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-item p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Newsletter Styles */
.newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.newsletter-text h2 {
    margin: 0 0 15px 0;
    font-size: 2rem;
}

.newsletter-text p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 15px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.subscribe-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.subscribe-form .btn {
    white-space: nowrap;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Mentor Section Styles */
.mentor {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mentor-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.mentor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mentor-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.mentor-info h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.mentor-title {
    font-size: 1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 25px;
    font-style: italic;
}

.mentor-education,
.mentor-experience,
.mentor-projects,
.mentor-business,
.mentor-skills,
.mentor-contact {
    margin-bottom: 20px;
}

.mentor-education h4,
.mentor-experience h4,
.mentor-projects h4,
.mentor-business h4,
.mentor-skills h4,
.mentor-contact h4 {
    font-size: 1rem;
    color: #34495e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mentor-education ul,
.mentor-experience ul,
.mentor-projects ul,
.mentor-business ul {
    list-style: none;
    padding: 0;
}

.mentor-education li,
.mentor-experience li,
.mentor-projects li,
.mentor-business li {
    padding: 5px 0;
    color: #555;
    line-height: 1.6;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.mentor-contact p {
    line-height: 1.8;
    color: #555;
}

/* Content Layout */
.page-content {
    padding: 4rem 0;
    background: #ffffff;
}

.page-section {
    padding: 3rem 0;
}

.page-section:nth-child(even) {
    background: #f8fafc;
}

/* Grid Layouts */
.content-grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Modern Card Design */
.content-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    margin: 1.5rem 0;
}

.card-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-features li i {
    color: var(--success);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Technical specifications styling */
.card-features li span {
    display: block;
    color: #64748b;
    font-size: 0.85em;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Featured Card */
.content-card.featured {
    border: 2px solid var(--primary-blue);
    position: relative;
}

.content-card.featured::before {
    transform: scaleX(1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Product Card Specific Styles */
.product-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

.product-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.product-badge {
    position: absolute;
    top: -1px;
    right: 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff4500);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.product-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.product-price .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.product-price .period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.product-features {
    margin: 2rem 0;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.product-features li i {
    color: var(--success);
    font-size: 1rem;
    margin-top: 0.25rem;
    min-width: 16px;
}

/* Solution Card Styles */
.solution-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Initial animation state */
    opacity: 0;
    transform: translateY(30px);
    /* Fallback CSS animation */
    animation: fadeInCard 0.6s ease-out forwards;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
    /* Override animation when JS takes control */
    animation: none;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    box-shadow: 0 4px 6px -1px rgba(0, 102, 204, 0.3);
}

.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Partner Cards */
.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

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

.partner-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #94a3b8;
}

.partner-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.partner-description {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Form Styles */
.contact-form {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
    border: 1.5px solid #e2e8f0;
    width: 100%;
}

.contact-form h2 {
    margin-bottom: 30px;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.08rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafbfc;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-detail {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Page Header Highlight Badge */
.page-header-highlight {
    margin-top: 1.5rem;
}

.highlight-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

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

/* MOU Partner Cards - Special Styling */
.mou-partner {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.mou-partner::before {
    content: '🤝 MOU';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.mou-partner:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.mou-partner .partner-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.mou-partner .partner-logo {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.mou-partner .partner-type {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.partner-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.partner-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.highlight-item i {
    color: #0066cc;
    width: 16px;
}

.partner-specialties,
.partner-collaboration {
    margin: 1.5rem 0;
    text-align: left;
}

.partner-specialties h4,
.partner-collaboration h4 {
    color: #1a202c;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.partner-specialties ul {
    list-style: none;
    padding: 0;
}

.partner-specialties li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.partner-contact {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* FORCE VISIBILITY FOR SENSOR KITS SECTION */
.page-section[style*="background: #f8fafc"] .content-card,
.page-section[style*="background: #f8fafc"] .fade-in-up,
section[style*="background: #f8fafc"] .content-card,
section[style*="background: #f8fafc"] .fade-in-up {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    animation: none !important;
}

.page-section[style*="background: #f8fafc"] .content-grid,
section[style*="background: #f8fafc"] .content-grid {
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
}

.page-section[style*="background: #f8fafc"] .stagger-animation,
section[style*="background: #f8fafc"] .stagger-animation {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Additional fallback for sensor kit cards */
.content-card .card-icon,
.content-card .card-title,
.content-card .card-description,
.content-card .card-features,
.content-card .card-footer {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure cards with visible class are shown immediately */
.content-card.visible,
.product-card.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-animation.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-animation.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-animation.visible > *:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 768px) {
    .contact {
        padding: 50px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .contact-info {
        order: 2;
        padding: 0 15px;
    }
    
    .contact-info h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .contact-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px;
        text-align: left;
    }
    
    .contact-icon {
        margin: 0 0 12px 0;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
        justify-content: flex-start;
    }
    
    .contact-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Contact Form */
    .contact-form {
        order: 1;
        padding: 25px 20px;
        border-radius: 15px;
        margin: 0 15px;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .simple-checkbox-label {
        font-size: 0.85rem;
        gap: 10px;
    }
    
    .simple-checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 50px 15px;
    }
    
    .faq-section h2 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-item h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .faq-item p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Newsletter Section */
    .newsletter {
        padding: 50px 15px;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .newsletter-text p {
        font-size: 0.9rem;
    }
    
    .subscribe-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .subscribe-form input {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .subscribe-form button {
        width: 100%;
    }
    
    /* Contact Info Cards */
    .contact-info-card {
        padding: 20px;
        text-align: center;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contact-title {
        font-size: 1rem;
    }
    
    .contact-detail {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
        margin: 0 10px;
    }
    
    .contact-form h2 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .simple-checkbox-label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    
    .faq-section,
    .newsletter {
        padding: 40px 10px;
    }
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

/* Contact Section General */
#contact.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-info h2 {
    margin-bottom: 25px;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
