/* Global Styles for Turing Intelligence Website */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

/* Navigation Styles */
.navbar {
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

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

/* Main Content Styles */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 2rem;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.page-header {
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.page-content {
    padding: 3rem 2rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* Card Styles */
.card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-icon {
    color: #FF7E5F;
    font-size: 1.5rem;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: #FF7E5F;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 126, 95, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation adjustments for mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .logo {
        height: 35px;
    }
    
    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Main content adjustments */
    .main-content {
        margin-top: 60px;
        padding: 1rem;
    }
    
    .page-header {
        padding: 2rem 1rem;
    }
    
    .page-title {
        font-size: 1.4rem; /* Reduced from 2.5rem */
    }
    
    .page-subtitle {
        font-size: 0.9rem; /* Reduced from 1.2rem */
    }
    
    .page-content {
        padding: 2rem 1rem;
    }
    
    /* Hero section adjustments */
    .hero-section {
        margin-top: 60px;
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 1.6rem; /* Reduced from 3.5rem */
    }
    
    .hero-subtitle {
        font-size: 0.9rem; /* Reduced from 1.5rem */
    }
    
    .hero-logo {
        width: 100px;
    }
    
    /* Section adjustments */
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.4rem; /* Reduced from 2.5rem */
        margin-bottom: 2rem;
    }
    
    /* Grid adjustments */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Card adjustments */
    .card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem; /* Reduced from 1.5rem */
    }
    
    .nav-card {
        padding: 1.5rem;
    }
    
    .nav-card-icon {
        font-size: 2rem; /* Reduced from 3rem */
    }
    
    .nav-card-title {
        font-size: 1.1rem; /* Reduced from 1.5rem */
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem; /* Reduced from default */
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Home Page Specific Styles */
.hero-section {
    background: linear-gradient(135deg, #FF7E5F, #FEB47B);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
}

.section {
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.nav-card-icon {
    font-size: 3rem;
    color: #FF7E5F;
    margin-bottom: 1rem;
}

.nav-card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.nav-card-description {
    color: #666;
    line-height: 1.6;
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    .navbar {
        padding: 0.3rem 0;
    }
    
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }
    
    .logo {
        height: 30px;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .main-content {
        margin-top: 50px;
        padding: 0.5rem;
    }
    
    .hero-section {
        margin-top: 50px;
        padding: 2rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.3rem; /* Reduced from 3.5rem */
    }
    
    .hero-subtitle {
        font-size: 0.8rem; /* Reduced from 1.5rem */
    }
    
    .section {
        padding: 1.5rem 0.5rem;
    }
    
    .section-title {
        font-size: 1.2rem; /* Reduced from 2.5rem */
    }
    
    .page-title {
        font-size: 1.2rem; /* Reduced from 2.5rem */
    }
    
    .card-title {
        font-size: 1rem; /* Reduced from 1.5rem */
    }
    
    .nav-card-title {
        font-size: 1rem; /* Reduced from 1.5rem */
    }
    
    .nav-card-icon {
        font-size: 1.8rem; /* Reduced from 3rem */
    }
}