:root {
    --primary-color: #FF8900;
    --primary-dark: #e67a00;
    --secondary-color: #2c3e50;
    --background-color: #f4f6f8;
    --text-color: #333;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    padding-top: 76px; /* Add padding for fixed navbar */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
}

/* Updated Navbar Styling */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-brand i {
    margin-right: 0.5rem;
}

/* Navbar Styles for the logo */
.navbar-brand img {
    height: 40px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
    margin-right: 5px;
    border-radius: 45%;
    background: #333;
    padding: 2px;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.nav-link i {
    margin-right: 0.3rem;
}

.navbar .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar .btn-primary {
    background-color: white;
    color: var(--primary-color) !important;
    border: none;
}

.navbar .btn-primary:hover {
    background-color: var(--light-color);
    transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link {
    color: white !important;
    opacity: 0.9;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.5);
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Adjust hero section to account for fixed navbar */
.hero-section {
    padding-top: 76px; /* Height of navbar */
    background: linear-gradient(135deg, #fff 0%, #fff8f0 100%);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    margin-top: -76px;
    padding-top: calc(76px + 2rem);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Updated Hero Icon Animation */
.hero-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    box-shadow: 0 10px 25px rgba(255, 137, 0, 0.3);
    cursor: pointer;
    perspective: 1000px;
}

.hero-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 137, 0, 0.4);
}

.hero-icon i {
    font-size: 100px;
    color: white;
    transition: all 0.4s ease;
}

.hero-icon:hover i {
    transform: rotateY(180deg);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Features Section */
.features {
    background-color: var(--light-color);
    padding: 5rem 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Add Bootstrap Icon sizes */
.bi {
    font-size: 1.2rem;
    margin-bottom: 0;
    color: var(--primary-color);
    vertical-align: middle;
}

.feature-card .bi, .value-card .bi, .contact-card .bi {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-hero, .contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    margin-top: -76px;
    padding-top: calc(76px + 2rem);
}

.mission-card, .value-card, .contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.mission-card:hover, .value-card:hover, .contact-card:hover {
    transform: translateY(-5px);
}

.value-card i, .contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 137, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .hero-icon {
        width: 150px;
        height: 150px;
    }
    
    .hero-icon i {
        font-size: 75px;
    }
}
