/* Base Styles */
body {
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.5s ease;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.main-header:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #e3dada;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #653ef2;
}

.dropdown.show .dropdown-content {
    display: block;
}

/* Navigation Bar */
.nav-bar {
    background: linear-gradient(to right, #002244, #003366);
    padding: 10px 0;
    transition: background 0.4s ease;
}

.nav-bar:hover {
    background: linear-gradient(to right, #003366, #004488);
}

.nav-bar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-bar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffde59;
    transition: width 0.3s ease;
}

.nav-bar a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #003366, #0055a5, #0066cc);
    color: white;
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.25rem;
    margin: 20px 0;
}

/* Buttons */
.btn-glow {
    display: inline-block;
    background-color: #ffde59;
    color: #003366;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 0 10px #ffde59;
    transition: all 0.3s ease;
}

.btn-glow:hover {
    background-color: #003366;
    color: #ffde59;
    box-shadow: 0 0 20px #ffde59;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f0f4f8, #e9ecef);
    padding: 60px 0;
}

.features .card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.features .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #003366, #004a94);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.features .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.features .card:hover::before {
    opacity: 1;
}

.features .card h4,
.features .card p {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.features .card:hover h4,
.features .card:hover p {
    color: white;
}

.features h4 {
    color: #003366;
    font-weight: bold;
    margin-bottom: 15px;
}

.features p {
    color: #666;
    line-height: 1.6;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

/* Template Section */
.template-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.template-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.template-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.template-card .card {
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.template-card .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-img-wrapper {
    overflow: hidden;
}

.template-card img {
    transition: transform 0.5s ease;
}

.template-card .card:hover img {
    transform: scale(1.05);
}

.template-card .card-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.template-card .card-text {
    color: #6c757d;
}

.template-card .btn-outline-primary {
    border-width: 2px;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.template-card .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.img-fluid {
    border: 2px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.blockquote {
    background: #f8f9fa;
    padding: 20px;
    border-left: 5px solid #0d6efd;
    border-radius: 8px;
    font-style: italic;
}

.blockquote-footer {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background-color: #003366;
    color: #fff;
    padding: 40px 20px 0;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding-bottom: 30px;
}

.footer-column h3 {
    color: #ffde59;
    margin-bottom: 10px;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
}

.footer-column a:hover {
    color: #ffde59;
}

.footer-bottom {
    background-color: #002244;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
    border-top: 1px solid #555;
}

/* Utility & Animations */
.btn-outline-primary {
    border-radius: 30px;
}

.bg-primary h3 {
    font-size: 2rem;
    font-weight: bold;
}

.bg-primary p {
    font-size: 1rem;
    margin-top: -10px;
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}