:root {
    --primary-blue: #004b87;
    --dark-blue: #002b54;
    --lime-green: #8cc63f;
    --light-green: #9ed453;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-blue {
    color: var(--primary-blue);
}

.logo-blue-light {
    color: #fff;
}

.logo-green {
    color: var(--lime-green);
}

.logo-subtext {
    font-size: 10px;
    color: var(--primary-blue);
    letter-spacing: 1px;
    font-weight: 600;
}

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

.nav-links li a {
    font-weight: 600;
    color: var(--dark-blue);
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--lime-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight-green {
    color: var(--lime-green);
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--lime-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.4);
}

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

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-blue);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background-color: var(--lime-green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.text-white {
    color: var(--white) !important;
}

.lead {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.mt-4 {
    margin-top: 40px;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards */
.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--lime-green);
    transition: transform 0.3s;
}

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

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 24px;
}

.card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-box h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-box p {
    color: var(--text-light);
    font-size: 15px;
}

/* Impact List */
.impact-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.impact-list li {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-list .icon {
    color: var(--lime-green);
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-info p {
    color: #a0c2e0;
    margin-bottom: 15px;
    max-width: 400px;
}

.footer-contact h3 {
    color: var(--lime-green);
    margin-bottom: 20px;
}

.footer-contact p {
    color: #a0c2e0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0c2e0;
    font-size: 14px;
}

/* Grid 3 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Swiper slider */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 43, 84, 0.85); /* dark blue with opacity */
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.swiper-pagination-bullet-active {
    background: var(--lime-green) !important;
}

/* Service Card */
.service-card {
    text-align: center;
    transition: all 0.4s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 75, 135, 0.15);
    border-top: 5px solid var(--primary-blue);
}
.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

/* Project Card */
.project-grid {
    gap: 40px;
}
.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s;
    height: 300px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.8)), url('images/brick1.jpg') center/cover;
}
.project-card:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.8)), url('images/brick2.jpg') center/cover;
}
.project-card:hover {
    transform: scale(1.02);
}
.project-info {
    padding: 30px;
    color: white;
    width: 100%;
}
.project-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--lime-green);
}
.project-info p {
    color: #f0f0f0;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}
.premium-input,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    background-color: var(--bg-light);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    color: var(--text-dark);
}

.premium-input:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime-green);
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(140, 198, 63, 0.15);
}

/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('images/brick1.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.about-hero .container {
    position: relative;
    z-index: 1;
}

.about-hero h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.align-center {
    align-items: center;
}

.text-left {
    text-align: left;
}

.text-left h2 {
    margin-bottom: 20px;
}

.text-left h2::after {
    left: 0;
    transform: none;
}

.mb-3 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 50px; }

.premium-gradient {
    background: linear-gradient(135deg, var(--lime-green) 0%, var(--light-green) 100%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(140, 198, 63, 0.3);
    position: relative;
}

.premium-gradient .icon {
    font-size: 100px;
    color: white;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
    display: inline-block;
}

.story-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 75, 135, 0.15);
    border: 5px solid white;
}

.premium-card {
    padding: 50px 40px;
    border-top: none;
    border-bottom: 5px solid var(--lime-green);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    z-index: -1;
}

.card-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(140, 198, 63, 0.1);
    border-radius: 50%;
    color: var(--lime-green);
}

.cseb-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001a33 100%);
}

.section-title.light h2 {
    color: var(--white);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
    text-align: center;
    padding: 30px 20px;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.text-light-blue {
    color: #a0c2e0;
}

.pillar-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}

.pillar-card:hover {
    box-shadow: 0 15px 40px rgba(0,75,135,0.1);
    transform: translateY(-5px);
}

.pillar-number {
    font-size: 80px;
    font-weight: 900;
    color: rgba(140, 198, 63, 0.1);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    z-index: 0;
    transition: all 0.3s;
}

.pillar-card:hover .pillar-number {
    color: rgba(140, 198, 63, 0.2);
    transform: scale(1.1);
}

.pillar-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.pillar-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.contact-banner {
    background: linear-gradient(135deg, var(--lime-green) 0%, var(--light-green) 100%);
    border-radius: 20px;
    padding: 60px;
    color: white;
    box-shadow: 0 20px 40px rgba(140, 198, 63, 0.2);
}

.contact-banner h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.contact-item .icon {
    font-size: 30px;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.contact-item strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-up, .animate-slide-right, .animate-slide-left {
    opacity: 0;
}

.animate-up.in-view {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-slide-right.in-view {
    animation: slideInRight 0.8s ease forwards;
}

.animate-slide-left.in-view {
    animation: slideInLeft 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .grid-2, .grid-4, .grid-3, .footer-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 36px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .contact-banner {
        padding: 40px 30px;
    }
}
