:root {
    --primary-color: #0A2647;
    --secondary-color: #F1F1F1;
    --accent-color: #4CAF50;
    --text-color: #333;
    --light-text: #fff;
    --text-accent: #4CAF50;
}

/* General Styles */
body {
    font-family: 'Poppins', '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;
}

.hero-badge {
    display: inline-block;
}

/* Countdown Timer */
.countdown-container {
    margin: 3rem 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Email Contact */
.email-contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.email-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.email-display {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.email-display:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.email-display i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.email-text {
    margin-left: 0.5rem;
    word-break: break-all;
}

/* Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-color), #45a049);
    border-radius: 5px;
    transition: width 2s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Social Media */
.social-links {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    color: white;
}

.social-icon i {
    font-size: 1.2rem;
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    color: var(--light-text);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    animation-delay: 4s;
}

.floating-element:nth-child(4) {
    animation-delay: 1s;
}

.floating-element:nth-child(5) {
    animation-delay: 3s;
}

/* Section Badges */
.section-badge {
    display: inline-block;
}

.section-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Tech Stack Grid */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.tech-item {
    background: var(--light-text);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tech-item::after {
    content: attr(data-tech);
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover::after {
    opacity: 1;
}

/* 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: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 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: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

/* Service Cards */
.service-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--light-text);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
}

.service-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-text);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--light-text);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Mission & Vision Cards */
.mission-card, .vision-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--light-text);
}

/* Contact Section */
.contact-info {
    background: var(--light-text);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--light-text);
    font-size: 1.2rem;
}

.contact-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* Contact Form */
.php-email-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.php-email-form .form-control {
    height: 50px;
    padding: 12px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    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(76, 175, 80, 0.25);
}

.php-email-form button[type="submit"] {
    background-color: var(--accent-color);
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.php-email-form button[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 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: 10px;
    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%;
    }
    
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-item {
        padding: 1rem;
    }
    
    .email-contact {
        padding: 1.5rem;
    }
    
    .email-display {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}

/* 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);
}

/* 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;
}

@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%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 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(76, 175, 80, 0.4);
}

/* 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(76, 175, 80, 0.3);
}

.close-btn i {
    font-size: 1.1rem;
}

/* Text Accent Color */
.text-accent {
    color: var(--text-accent) !important;
}

/* Badge Styling */
.badge.bg-accent {
    background-color: var(--accent-color) !important;
} 