:root {
    --primary-color: #0A2647;
    --secondary-color: #F1F1F1;
    --accent-color: #FF6B35;
    --text-color: #333;
    --light-text: #fff;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    /* padding-top: 76px; */
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(10,38,71,0.8) 100%);
    animation: gradientShift 10s ease infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #f1f1f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200%;
    animation: textGradient 5s linear infinite;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--light-text);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,107,53,0.3);
}

/* Section Styles */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Service Cards */
.service-card {
    background: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: var(--light-text);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

/* Contact Form */
.php-email-form {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.php-email-form .form-control {
    height: 50px;
    padding: 12px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.php-email-form textarea.form-control {
    height: auto;
    min-height: 150px;
}

.php-email-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.php-email-form button[type="submit"] {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.php-email-form button[type="submit"]:hover {
    background-color: #e55a2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Error Message Styling */
.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* Success Message Styling */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 15px;
}

/* Form Group Spacing */
/* .form-group {
    margin-bottom: 20px;
} */

/* Input Placeholder Styling */
.php-email-form .form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Form Animation */
.php-email-form .form-control, 
.php-email-form button {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation Styling */
/* .php-email-form .form-control.valid {
    border-color: #28a745;
} */

.php-email-form .form-control.invalid {
    border-color: #dc3545;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .php-email-form {
        padding: 20px;
    }
    
    .php-email-form .form-control {
        height: 45px;
        font-size: 14px;
    }
    
    .php-email-form button[type="submit"] {
        width: 100%;
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.footer a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .feature-card, .mission-card, .vision-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Hero Section Animations */
.hero-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-image {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Interactive Elements */
.hero .btn-accent {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.hero .btn-accent:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.hero .btn-accent:hover:before {
    left: 0;
}

.hero .btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.4);
}

/* Floating Animation for Image */
.hero .img-fluid {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive Text Animation */
@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Close Button Styling */
.close-btn {
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
}

.close-btn:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,107,53,0.3);
}

.close-btn i {
    font-size: 1.1rem;
} 