/* === GLOBAL STYLES === */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff9900;
    --light-color: #f5f7fa;
    --dark-color: #333333;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto;
    position: relative;
}

.header-line::before, .header-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: var(--accent-color);
    opacity: 0.5;
}

.header-line::before {
    left: -30px;
}

.header-line::after {
    right: -30px;
}

section {
    padding: 100px 0;
}

section:nth-child(even) {
    background-color: var(--light-color);
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

/* === NAVBAR STYLES === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.contact-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.contact-btn:hover {
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('hero-placeholder.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* === WHY MODERNIZE SECTION === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.benefit-card:hover .icon-container {
    background: var(--primary-color);
}

.icon-container i {
    font-size: 28px;
    color: var(--primary-color);
    transition: var(--transition);
}

.benefit-card:hover .icon-container i {
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* === FEATURES SECTION === */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-content p {
    margin-bottom: 20px;
}

.feature-content ul {
    list-style: none;
    padding-left: 20px;
}

.feature-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.feature-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}
/* === MODERNIZATION PROCESS SECTION === */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--light-gray);
    top: 0;
    bottom: 0;
    left: 50px;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 0;
    position: relative;
    background-color: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.timeline-number {
    min-width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
    z-index: 1;
}

.timeline-content {
    padding: 20px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* === PROJECTS SECTION === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-color);
    border-radius: 50px;
    font-size: 14px;
    color: var(--primary-color);
    margin-top: 15px;
}

/* === TESTIMONIALS SECTION === */
.testimonial-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.testimonial-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #ff9800;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #103466;
    color: white; /* Makes all text inside white by default */
    padding: 25px 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.quote-icon {
    font-size: 40px;
    color: #ff9800;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 30px 0 20px 0;
    color: white; /* explicitly white */
}

.rating {
    font-size: 18px;
    color: #ff9800;
    margin-bottom: 15px;
}

.client-info {
    border-top: 1px solid #3a5a86;
    padding-top: 10px;
}

.client-name {
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.client-position {
    font-size: 14px;
    opacity: 0.9;
    color: white;
}

/* === CTA SECTION === */
.cta {
    background-color: white;
    overflow: hidden;
}

.cta .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-content {
    flex: 1;
}

.cta-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.cta-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.cta-button.primary {
    background: var(--primary-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.cta-button i {
    margin-right: 8px;
}

/* === FOOTER === */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    margin-right: 30px;
}

.footer-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.link-column {
    flex: 1;
    min-width: 200px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.link-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-column a:hover {
    color: white;
    padding-left: 5px;
}

.link-column i {
    margin-right: 8px;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE STYLES === */
@media screen and (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .feature {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature.reverse {
        flex-direction: column;
    }
    
    .cta .container {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-right: 0;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .footer-logo, .link-column {
        flex: 100%;
        margin-right: 0;
    }
}