/* Landing Page CSS for SecureSphereLabs Ticketing System */

/* Custom Colors */
:root {
    --primary-color: #0c2461;
    --secondary-color: #1e3799;
    --accent-color: #4a69bd;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-light:hover {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.login-btn {
    margin-left: 10px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    font-weight: 400;
}

.hero img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 100%);
    color: white;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* About Section */
.about {
    background-color: var(--light-color);
    padding: 80px 0;
}

.about h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about img {
    max-width: 100%;
    height: auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact h2 {
    color: var(--primary-color);
}

.card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info li i {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .login-btn {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        margin-bottom: 30px;
    }
    
    .about img {
        margin-bottom: 30px;
    }
    
    .contact-form {
        margin-bottom: 30px;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .features h2, .feature-card, .about h2, .contact h2 {
    animation: fadeIn 1s ease-out;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}