/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffd700;
    color: #1e3c72;
    border-color: #ffd700;
}

.btn-primary:hover {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

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

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Services Preview Section */
.services-preview {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e3c72;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: #1e3c72;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1e3c72;
}

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

.services-cta {
    text-align: center;
}

/* Contact Info Section */
.contact-info {
    padding: 80px 0;
    background: #1e3c72;
    color: #fff;
}

.contact-info h2 {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-info h3 {
    color: #fff;
}

.contact-info p {
    color: #fff;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: #1e3c72;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ffd700;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section i {
    margin-right: 10px;
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e3c72;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features h2,
    .services-preview h2,
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .features,
    .about-preview,
    .services-preview,
    .contact-info {
        padding: 60px 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1e3c72;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

/* Ensure proper text colors in sections with dark backgrounds */
.content-section[style*="background: #1e3c72"],
.content-section[style*="background:#1e3c72"] {
    color: #fff !important;
}

.content-section[style*="background: #1e3c72"] h2,
.content-section[style*="background:#1e3c72"] h2,
.content-section[style*="background: #1e3c72"] h3,
.content-section[style*="background:#1e3c72"] h3 {
    color: #fff !important;
}

.content-section[style*="background: #1e3c72"] p,
.content-section[style*="background:#1e3c72"] p {
    color: #fff !important;
    opacity: 0.9;
}

/* General contrast rules to prevent invisible text */
* {
    /* Ensure text is never the same color as background */
    color: inherit;
}

/* Override for specific problematic combinations */
[style*="background: #1e3c72"] * {
    color: #fff !important;
}

[style*="background:#1e3c72"] * {
    color: #fff !important;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1e3c72;
}

.content-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 10px;
    color: #666;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #1e3c72;
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Additional Styles for New Pages */

/* Mission & Vision Grid */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-icon i {
    font-size: 2rem;
    color: #fff;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2rem;
    color: #1e3c72;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    margin-bottom: 20px;
}

.team-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-choose-item {
    text-align: center;
    padding: 30px;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-choose-icon i {
    font-size: 2rem;
    color: #1e3c72;
}

/* Services Main Grid */
.services-main-grid {
    display: grid;
    gap: 50px;
}

.service-main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.service-main-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e3c72;
}

.service-main-content ul {
    list-style: none;
    padding: 0;
}

.service-main-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.service-main-content li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Specialized Services Grid */
.specialized-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.specialized-service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.specialized-service-card:hover {
    transform: translateY(-10px);
}

.specialized-service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.specialized-service-icon i {
    font-size: 2rem;
    color: #fff;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

/* Why Choose Services Grid */
.why-choose-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-choose-service-item {
    text-align: center;
    padding: 30px;
}

.why-choose-service-icon {
    width: 80px;
    height: 80px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-choose-service-icon i {
    font-size: 2rem;
    color: #1e3c72;
}

/* Contact Page Styles */
.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-details {
    margin-top: 30px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-detail-icon {
    width: 60px;
    height: 60px;
    background: #1e3c72;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-detail-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.contact-detail-content h3 {
    margin-bottom: 10px;
    color: #1e3c72;
}

.contact-detail-content p {
    margin-bottom: 5px;
}

.contact-detail-content a {
    color: #1e3c72;
    text-decoration: none;
}

.contact-detail-content a:hover {
    text-decoration: underline;
}

.contact-detail-content small {
    color: #666;
    font-size: 0.9rem;
}

/* Marketing Opt-in Styles */
.marketing-optin {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.marketing-optin h4 {
    color: #1e3c72;
    margin-bottom: 15px;
}

.marketing-optin p {
    margin-bottom: 20px;
    color: #666;
}

.optin-note {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 20px;
}

.optin-note i {
    color: #2196f3;
    margin-right: 8px;
}

/* Map Container */
.map-container {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-placeholder {
    padding: 40px;
}

.map-placeholder i {
    font-size: 4rem;
    color: #1e3c72;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

/* FAQ Container */
.faq-container {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #1e3c72;
    margin-bottom: 15px;
}

/* Policy Content */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content h2 {
    color: #1e3c72;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
}

.policy-content h3 {
    color: #1e3c72;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-content li {
    margin-bottom: 8px;
}

.contact-info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    color: #333;
}

.contact-info-box p {
    color: #333;
    margin-bottom: 10px;
}

/* CTA Content */
.cta-content {
    text-align: center;
    padding: 40px;
    color: inherit; /* Inherit color from parent */
}

.cta-content h2 {
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent */
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: inherit; /* Inherit color from parent */
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-full {
    width: 100%;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .contact-page-content {
        grid-template-columns: 1fr;
    }
    
    .service-main-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mission-vision-grid,
    .values-grid,
    .team-grid,
    .why-choose-grid,
    .specialized-services-grid,
    .process-steps,
    .why-choose-services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-detail-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
