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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-image {
    /* width: 50px; */
    height: 100px;
    /* border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #667eea;
}

/* ========================================
   Buttons
   ======================================== */
.cta-btn {
    background: #4c3fc5;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76, 63, 197, 0.4);
    background: #3d32a8;
}

.secondary-btn {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #ffffff;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.read-btn {
    background: #4c3fc5;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.read-btn:hover {
    background: #3d32a8;
    transform: translateY(-2px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 100px 60px 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #0c1e47 100%);
}

.hero-content {
    max-width: 800px;
    text-align: left;
    z-index: 1;
    padding-bottom: 40px;
}

.hero h1 {
    font-size: 80px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffd9a3;
    line-height: 1.1;
    font-family: 'Georgia', serif;
}

.hero p {
    font-size: 20px;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 700px;
}

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

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Ensure video covers on all devices */
@supports (object-fit: cover) {
    .video-background video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 40, 80, 0.7) 0%, rgba(10, 10, 30, 0.85) 100%);
    z-index: 1;
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.white-bg {
    background: #ffffff;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* AI Section */
.ai-section {
    background: #f5f5f5;
    padding: 100px 60px;
}

.ai-section .section-title {
    color: #1a1a1a;
    margin-bottom: 60px;
}

/* ========================================
   Cards & Grids
   ======================================== */
.ai-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.ai-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

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

.ai-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-card-content {
    padding: 30px;
}

.ai-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
    line-height: 1.3;
}

.ai-card-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.ai-card-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ========================================
   Service Cards
   ======================================== */
.services,
.process,
.stats,
.connect-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card,
.connect-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-card:hover,
.connect-card:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.service-icon,
.connect-icon {
    font-size: 56px;
    margin-bottom: 24px;
    display: block;
}

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

.connect-icon {
    margin-bottom: 20px;
}

.service-card h3,
.connect-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #fff;
}

.service-card p,
.connect-card p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-top: 20px;
}

.service-features li {
    color: #b0b0b0;
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* ========================================
   Process Steps
   ======================================== */
.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #fff;
}

.process-step p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* ========================================
   Stats
   ======================================== */
.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    color: #b0b0b0;
    font-size: 16px;
}

/* ========================================
   Social Section
   ======================================== */
.social-section {
    margin-top: 80px;
    text-align: center;
}

.social-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.3s;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* ========================================
   Admin Panel
   ======================================== */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.admin-stats-title {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
}

.admin-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-danger {
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-success {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    padding: 14px;
    border: 1px solid #667eea;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.full-width {
    width: 100%;
}

.admin-form-title {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
}

.visitor-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    color: #fff;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
}

.form-textarea {
    resize: vertical;
}

.table-container {
    overflow-x: auto;
}

.admin-table-title {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
}

.visitor-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.visitor-table thead tr {
    background: rgba(102, 126, 234, 0.2);
    text-align: left;
}

.visitor-table th,
.visitor-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visitor-table td {
    color: #b0b0b0;
}

.visitors-grid {
    display: grid;
    gap: 20px;
}

.visitor-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visitor-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.detail-label {
    color: #667eea;
    font-weight: bold;
}

.detail-value {
    color: #b0b0b0;
}

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

.modal-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 90%;
}

.modal-title {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.modal-input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ========================================
   Floating Admin Button
   ======================================== */
.floating-admin-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 60px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: #b0b0b0;
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet and below */
@media (max-width: 1024px) {
    .nav {
        padding: 0px 65px;
    }
    
    .section {
        padding: 80px 40px;
    }
    
    .ai-section {
        padding: 80px 40px;
    }
    
    .hero {
        padding: 100px 40px 60px;
    }
    
    .hero h1 {
        font-size: 60px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 40px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 18px;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .nav-links a:hover {
        background: rgba(102, 126, 234, 0.1);
    }
    
    .nav-menu .cta-btn {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .hero {
        padding: 120px 20px 40px;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .video-background video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .ai-section {
        padding: 60px 20px;
    }

    .ai-permotion {
        align-items: flex-end;
        justify-content: flex-start;
        padding: 100px 60px 80px;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #1e3a8a 0%, #0c1e47 100%);
    }
    
    .ai-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services,
    .process,
    .stats,
    .connect-options {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .service-card,
    .connect-card {
        padding: 30px 20px;
    }
    
    .service-icon,
    .connect-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .process-step h3 {
        font-size: 20px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    footer {
        padding: 30px 20px;
    }
    
    /* Admin Panel Mobile */
    .admin-container {
        padding: 0;
    }
    
    .admin-card {
        padding: 20px;
    }
    
    .admin-buttons {
        flex-direction: column;
    }
    
    .admin-buttons button {
        width: 100%;
    }
    
    .visitor-form {
        grid-template-columns: 1fr;
    }
    
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .visitor-table {
        min-width: 800px;
        font-size: 14px;
    }
    
    .visitor-table th,
    .visitor-table td {
        padding: 8px;
        white-space: nowrap;
    }
    
    .visitor-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .floating-admin-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .ai-card-title {
        font-size: 20px;
    }
    
    .ai-card-content {
        padding: 20px;
    }
    
    .service-card h3,
    .connect-card h3 {
        font-size: 20px;
    }
    
    .cta-btn,
    .secondary-btn,
    .read-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .nav-menu {
        width: 100%;
        right: -100%;
    }
}

/* Landscape mobile phones */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }
}