:root {
    --primary-color: #0A2647; /* Dark Blue */
    --secondary-color: #144272; /* Medium Blue */
    --accent-color: #205295; /* Light Blue */
    --highlight-color: #2C74B3; /* Bright Blue */
    --text-color: #ffffff;
    --dark-bg: #0A1B2E;
    --card-bg: rgba(20, 66, 114, 0.2);
}

/* Updated General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Navbar */
.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 0;
}

.navbar-brand {
    /* color: var(--primary-color) !important; */
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--highlight-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Updated About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

/* Updated Why Choose Us Section */
.why-us {
    background: var(--primary-color);
    position: relative;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--highlight-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.feature-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Updated Contact Section */
.contact-section {
    background: var(--secondary-color);
    position: relative;
}

.contact-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(44, 116, 179, 0.5);
}

/* Interactive Elements */
.floating-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    animation: move 25s linear infinite;
    bottom: -150px;
}

@keyframes move {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

/* Services Section */
.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Feature Cards */
.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Mission & Vision Section Styles */
.mission-vision {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.mission-vision h2 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.mission-vision h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
}

.mission-card, .vision-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-icon {
    background: var(--highlight-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3, .vision-card h3 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Mission Points Styling */
.mission-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-points li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.mission-points li i {
    color: var(--highlight-color);
    margin-right: 10px;
}

/* Vision Goals Styling */
.vision-goals {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.goal-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.goal-item:hover {
    transform: translateY(-5px);
}

.goal-icon {
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.goal-icon i {
    color: var(--highlight-color);
    font-size: 1.5rem;
}

.goal-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Card Overlay Effect */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover .card-overlay,
.vision-card:hover .card-overlay {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .vision-goals {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-card, .vision-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .vision-goals {
        grid-template-columns: 1fr;
    }
}

/* Contact Cards */
.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    line-height: 2;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Company Info Styling */
.company-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.company-info h4 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--highlight-color);
    margin-right: 10px;
}

/* Email Link Styling */
a[href^="mailto"] {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="mailto"]:hover {
    color: var(--accent-color);
}

/* Footer Company Info */
.footer .contact-info {
    margin-top: 1rem;
}

.footer .contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer .contact-info i {
    margin-right: 10px;
    color: var(--highlight-color);
}

/* Contact Form Styling */
.php-email-form {
    background: rgba(10, 38, 71, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Form Controls */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #2C74B3;
    box-shadow: 0 0 15px rgba(44, 116, 179, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Textarea Specific Styles */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Error Messages */
.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Submit Button */
.php-email-form button {
    background: linear-gradient(45deg, #0A2647, #2C74B3);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.php-email-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #2C74B3, #0A2647);
}

/* Success Message */
.alert-success {
    background: rgba(47, 240, 174, 0.1);
    border: 1px solid #2C74B3;
    color: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Form Group Spacing */
.form-group {
    position: relative;
    /* margin-bottom: 1.5rem; */
}

/* Custom Scrollbar for Textarea */
textarea.form-control::-webkit-scrollbar {
    width: 8px;
}

textarea.form-control::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

textarea.form-control::-webkit-scrollbar-thumb {
    background: #2C74B3;
    border-radius: 4px;
}

/* Valid State */
.form-control.valid {
    border-color: rgba(47, 240, 174, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .php-email-form {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.875rem 1.25rem;
    }
}

/* Input Focus Animation */
.form-control:focus {
    transform: translateY(-2px);
}

/* Form Container Hover Effect */
.php-email-form:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Form Row Spacing */
.row {
    margin: 0 -10px;
}

.col-md-6 {
    padding: 0 10px;
}

/* Success Message Animation */
.alert-success {
    transition: all 0.3s ease;
}

/* Form Fields Hover Effect */
.form-control:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Copyright Section Styling */
.copyright-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    position: relative;
}

.copyright-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    margin-bottom: 1.5rem;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.copyright-links {
    margin-top: 0.5rem;
}

.copyright-links a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.copyright-links a:hover {
    color: #fff;
}

.copyright-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.copyright-links a:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .copyright-text {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .copyright-links {
        margin-top: 0;
    }
}

/* Contact Info Card Styling */
.contact-info-card {
    background: rgba(10, 38, 71, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.03);
}

/* Icon Styling */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #0A2647, #2C74B3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.contact-info-item:hover .icon-wrapper::after {
    transform: translateX(100%);
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: #fff;
}

/* Content Styling */
.contact-content {
    flex-grow: 1;
}

.contact-content h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.email-links {
    margin-bottom: 1rem;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--highlight-color);
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.email-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.email-link i {
    font-size: 1rem;
}

/* Response Time Styling */
.response-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.response-time i {
    color: var(--highlight-color);
}

/* Floating Animation */
.floating-element {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .email-link {
        justify-content: center;
    }

    .response-time {
        justify-content: center;
    }
}

/* Hover Effects */
.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(44, 116, 179, 0.1),
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-info-card:hover::before {
    opacity: 1;
}

/* Privacy and Terms Pages Common Styles */
.privacy-section, .terms-section {
    background-color: var(--dark-bg);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.privacy-section::before, .terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(10, 38, 71, 0.7), rgba(44, 116, 179, 0.3));
    z-index: 0;
}

/* Page Header */
.page-header {
    position: relative;
    text-align: center;
    /* margin-bottom: 4rem; */
    padding: 2rem;
    /* background: rgba(10, 38, 71, 0.8); */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
}

/* Company Info Card */
.company-info {
    background: rgba(44, 116, 179, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.company-info h4 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.company-info p {
    color: #fff;
    font-size: 1.1rem;
}

/* Content Sections */
.privacy-content, .terms-content {
    /* background: rgba(10, 38, 71, 0.8); */
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    position: relative;
    margin-bottom: 3rem;
}

.privacy-content h2, .terms-content h2 {
    color: var(--highlight-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(44, 116, 179, 0.3);
}

.privacy-content p, .terms-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.privacy-content ul, .terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.privacy-content ul li, .terms-content ul li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.privacy-content ul li::before, .terms-content ul li::before {
    content: '→';
    color: var(--highlight-color);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

/* Section Cards */
.section-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

/* Contact Section */
.contact-section {
    background: rgba(44, 116, 179, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.contact-section h2 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
}

.contact-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--highlight-color);
}

/* Footer Styling */
.footer {
    background: var(--primary-color);
    padding: 2rem 0;
    position: relative;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer a {
    color: var(--highlight-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-content, .terms-content {
        padding: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .company-info h4 {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Close Button Styling */
.close-button-container {
    margin-top: 3rem;
    padding: 1rem;
}

.close-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--highlight-color));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.close-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.close-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.close-button:hover::before {
    left: 100%;
}

.close-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.close-button:hover i {
    transform: rotate(90deg);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .close-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
} 