/* General Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --accent-color: #00a0e3;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

html {
    font-size: 18px; /* Balanced base font size */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    min-height: 70px;
    height: 70px;
    padding: 0.5rem 0;
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-right: 2.5rem;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand img {
    transition: transform 0.2s ease;
    height: 45px;
    width: auto;
}

.navbar-brand:hover {
    opacity: 0.9;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.7rem 1.2rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 60px;
        height: auto;
        padding: 0.5rem 0 !important;
    }
    .navbar-brand {
        margin-right: 0;
        padding: 0.25rem 0;
    }
    .navbar-brand span {
        font-size: 1.1rem !important;
    }
    .navbar-brand img {
        height: 35px !important;
    }
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    .navbar-collapse {
        margin-top: 0.5rem;
        background-color: #ffffff;
        border-radius: 0.25rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .navbar-collapse .nav-link {
        padding: 0.6rem 1rem !important;
    }

    html {
        font-size: 16px;
    }
    .hero-section {
        padding-top: 80px !important;
    }
    h1, .display-4 {
        font-size: 1.5rem !important;
    }
    h2 {
        font-size: 1.15rem !important;
    }
    h3, .h5 {
        font-size: 1rem !important;
    }
    .btn, .btn-lg {
        font-size: 0.95rem !important;
        padding: 0.7rem 1.2rem !important;
    }
}

/* Hero Section */
.hero-section {
    padding-top: 120px; /* More space for comfort */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(0,86,179,0.05) 0%, rgba(0,160,227,0.05) 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.hero-section .mb-3, .hero-section span, .hero-section div, .hero-section .lead {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-section .btn-lg {
    font-size: 1.05rem !important;
    font-weight: 600;
    padding: 0.9rem 2rem !important;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
    .hero-section {
        padding-top: 90px;
    }
    h1, .display-4 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    h3, .h5 {
        font-size: 1.1rem !important;
    }
}

/* Features Section */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.card-body {
    padding: 2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.card i {
    color: var(--accent-color);
}

/* About Section */
.about-section img {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.about-section .fa-check-circle {
    color: var(--accent-color);
}

/* Contact Section */
#contact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

#contact h2, .contact-section-title {
    font-size: 2rem !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#contact .card {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#contact .form-control {
    font-size: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 7px;
}

#contact .btn {
    font-size: 1.05rem;
    padding: 0.7rem 2rem;
    border-radius: 7px;
}

@media (max-width: 768px) {
    #contact {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }
    #contact h2, .contact-section-title {
        font-size: 1.2rem !important;
    }
    #contact .card {
        max-width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--primary-color);
    font-size: 0.8rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color) !important;
}

.social-links a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

h2 {
    font-size: 2rem !important;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h3, .h5 {
    font-size: 1.25rem !important;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.7rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.lead, .mb-3 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

.display-4 {
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
} 