/**
 * Sakhandaa Tech and Talent Hub
 * Shared Styles - 2025
 */

:root {
    --primary-blue: #1e5ba8;
    --light-blue: #3d9df2;
    --accent-pink: #e91e63;
    --dark-navy: #0d3b66;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 8px 40px rgba(30, 91, 168, 0.15);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(30, 91, 168, 0.3));
}

.nav-link {
    color: #333 !important;
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-radius: 15px;
    padding: 15px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover, .dropdown-item.active {
    background: var(--gradient-3);
    color: white;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInUp 1s ease;
}

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

.year-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 25px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.3);
}

.company-name {
    font-size: 4.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-feature {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
}

.hero-feature i {
    margin-right: 8px;
    color: #43e97b;
}

/* CTA Buttons */
.cta-btn {
    background: white;
    color: var(--primary-blue);
    padding: 15px 45px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    box-shadow: 0 10px 40px rgba(255,255,255,0.4);
    transition: all 0.4s ease;
    margin: 10px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255,255,255,0.3);
    color: var(--primary-blue);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.section-title span {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    color: inherit;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-3);
}

.service-icon i {
    font-size: 3rem;
    color: white;
}

.service-card h3 {
    color: var(--dark-navy);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Icon Gradient Variations */
.icon-gradient-1 { background: var(--gradient-1) !important; }
.icon-gradient-2 { background: var(--gradient-2) !important; }
.icon-gradient-3 { background: var(--gradient-3) !important; }
.icon-gradient-4 { background: var(--gradient-4) !important; }

/* Tech Cards */
.tech-card-img {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.tech-card-img:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

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

.tech-card-content {
    padding: 25px;
}

.tech-card-content h3 {
    color: var(--dark-navy);
    font-weight: 800;
    margin-bottom: 15px;
}

.tech-badge {
    display: inline-block;
    background: var(--gradient-3);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Feature Box */
.feature-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box h4 {
    color: var(--dark-navy);
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-navy);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-blue);
}

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

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

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

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.8;
}

/* Registration Modal */
.registration-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.registration-modal.active {
    display: flex;
}

.registration-form-container {
    background: white;
    border-radius: 25px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.registration-form-container h2 {
    color: var(--dark-navy);
    margin-bottom: 10px;
    font-weight: 800;
}

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

.form-group label {
    display: block;
    color: var(--dark-navy);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 91, 168, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px;
}

.success-message.active {
    display: block;
}

.success-message i {
    font-size: 4rem;
    color: #43e97b;
    margin-bottom: 20px;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    color: white;
}

/* WhatsApp Popup */
.whatsapp-popup {
    display: none;
    position: fixed;
    bottom: 100px;
    left: 30px;
    z-index: 9999;
}

.whatsapp-popup.active {
    display: block;
}

.whatsapp-popup-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 320px;
    overflow: hidden;
    position: relative;
}

.whatsapp-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10;
}

.whatsapp-popup-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid white;
}

.whatsapp-info h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.online-status {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
}

.online-status i {
    color: #7CFC00;
    font-size: 8px;
    margin-right: 5px;
}

.whatsapp-popup-body {
    padding: 20px;
    background: #ECE5DD;
}

.whatsapp-message {
    background: white;
    padding: 12px 15px;
    border-radius: 0 10px 10px 10px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.whatsapp-message p {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    display: block;
    text-align: right;
}

.whatsapp-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-popup-btn:hover {
    background: #128C7E;
    color: white;
}

.whatsapp-popup-note {
    text-align: center;
    padding: 10px;
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    background: #f5f5f5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0d3b66 0%, #1a1a2e 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 1.4rem;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: white;
    transform: translateX(5px);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .company-name { font-size: 2.5rem; }
    .tagline { font-size: 1.2rem; }
    .section-title { font-size: 2rem; }
    .hero-section { padding-top: 80px; min-height: auto; padding-bottom: 50px; }
    .hero-features { justify-content: center; }
    .cta-btn { padding: 12px 30px; margin: 5px; }
    .whatsapp-popup {
        left: 15px;
        right: 15px;
        bottom: 90px;
    }
    .whatsapp-popup-content {
        width: 100%;
    }
    .registration-form-container {
        padding: 30px;
    }
}
