@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-blue: #1460A8;
    --primary-blue-dark: #0f4a82;
    --accent-yellow: #FFD900;
    --accent-yellow-hover: #e6c300;
    --text-dark: #111111;
    --text-light: #ffffff;
    --bg-light: #f4f6f9;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Colors and Backgrounds */
.text-primary-blue { color: var(--primary-blue) !important; }
.text-accent-yellow { color: var(--accent-yellow) !important; }
.bg-primary-blue { background-color: var(--primary-blue) !important; }
.bg-accent-yellow { background-color: var(--accent-yellow) !important; }

/* Buttons */
.btn-primary-blue {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--text-light);
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 96, 168, 0.2);
}

.btn-primary-blue:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(20, 96, 168, 0.35);
}

.btn-accent-yellow {
    background: linear-gradient(135deg, var(--accent-yellow), #ffea4d);
    color: var(--text-dark);
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 217, 0, 0.3);
}

.btn-accent-yellow:hover {
    background: linear-gradient(135deg, var(--accent-yellow-hover), var(--accent-yellow));
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 217, 0, 0.5);
}

/* Navbar */
.navbar {
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-blue);
    color: var(--text-light);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--accent-yellow);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 0 10px;
    display: inline-block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-img-container {
    position: relative;
    z-index: 1;
}

.hero-img {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 5px solid var(--accent-yellow);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background-color: var(--accent-yellow);
}

.section-title.text-center::after {
    left: 25%;
}

/* Premium Cards */
.meem-card {
    background-color: var(--text-light);
    border: 1px solid rgba(20, 96, 168, 0.08);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.meem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.meem-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(20, 96, 168, 0.12);
    border-color: rgba(20, 96, 168, 0.2);
}

.meem-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    background-color: rgba(255, 217, 0, 0.2);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.meem-card:hover .card-icon {
    background-color: var(--primary-blue);
    color: var(--accent-yellow);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 40px 20px;
}

.service-card .card-icon {
    margin: 0 auto 20px;
}

/* Feature Blocks */
.feature-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    background-color: var(--primary-blue);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Special Banner */
.special-banner {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    border-radius: 15px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.special-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: var(--primary-blue);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .special-banner::before {
        clip-path: polygon(0 50%, 100% 40%, 100% 100%, 0% 100%);
        width: 100%;
        height: 60%;
        top: auto;
        bottom: 0;
    }
}

.special-content {
    position: relative;
    z-index: 2;
}

.special-img {
    position: relative;
    z-index: 2;
    border-radius: 10px;
    border: 4px solid var(--text-light);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

/* Footer */
.footer {
    background-color: #0a3560;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-links a:hover {
    color: var(--accent-yellow);
    opacity: 1;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form .form-control {
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(20, 96, 168, 0.25);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility */
.bg-light-gray {
    background-color: var(--bg-light);
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
}
