/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #0066cc;  /* Updated to a more vibrant blue */
    --light-blue: #e6f2ff;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --text-color: #333333;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.get-quote .btn {
    margin-left: 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Features Section */
.features {
    background-color: var(--light-gray);
    text-align: center;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.features h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Partners Section */
.partners {
    background-color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.partners h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
}

.partners h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 35px;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 200px;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.partner-logo img {
    max-width: 100%;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

.partner-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 51, 102, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.partner-logo:hover::after {
    opacity: 1;
}

@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        max-width: 1200px;
    }
    
    .partner-logo {
        height: 180px;
        padding: 25px;
    }
    
    .partner-logo img {
        max-height: 130px;
    }
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        height: 160px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        height: 140px;
        padding: 20px;
    }
    
    .partner-logo img {
        max-height: 100px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .partner-logo {
        height: 120px;
        padding: 20px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .partner-logo img {
        max-height: 80px;
    }
}

/* Plans Section */
.plans {
    background-color: var(--white);
    text-align: center;
}

.plans h2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.plans h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.plan {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px 30px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.plan.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: scale(1.05);
}

.plan.featured h3,
.plan.featured .price,
.plan.featured li {
    color: var(--white);
}

.plan.featured .btn {
    background-color: var(--white);
    color: var(--primary-color);
}

.plan.featured .btn:hover {
    background-color: #e6f2ff;
    color: var(--primary-color);
}

.plan h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.plan ul {
    margin: 30px 0;
    text-align: left;
}

.plan ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.plan ul li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan.featured ul li::before {
    color: var(--white);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Contact Section */
.contact {
    background-color: #ffffff;  /* White background for better contrast */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    margin-bottom: 30px;
    color: #333333;  /* Dark gray for better readability */
}

.contact-info h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #222222 !important;  /* Dark gray for better readability */
    font-weight: 500;
    font-size: 1.1em;
    text-shadow: none !important;
    opacity: 1 !important;
    line-height: 1.6;
}

.contact-details i {
    margin-right: 10px;
    color: #003366 !important;  /* Force icon color */
    width: 20px;
    text-align: center;
    opacity: 1 !important;  /* Ensure full opacity */
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d1d1;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.contact-details p {
    color: #d1d1d1;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    color: #d1d1d1;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header .container {
        flex-direction: column;
        padding: 15px;
    }
    
    nav ul {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .features-grid,
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 25px;
    }
}
