/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 46, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #E0A800;
    font-size: 2rem;
    margin-bottom: 0;
}

.nav-logo span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #E0A800;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #E0A800;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1A2E40 0%, #2C4A63 100%);
    color: #ffffff;
    padding-top: 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #E0A800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f8f8f8;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #E0A800;
    color: #1A2E40;
}

.btn-primary:hover {
    background-color: #C28B3B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 168, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #E0A800;
}

.btn-secondary:hover {
    background-color: #E0A800;
    color: #1A2E40;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #2C4A63, #1A2E40);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    border: 2px solid #E0A800;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1A2E40;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #E0A800;
}

/* Services Preview */
.services-preview {
    background-color: #F8F8F8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1A2E40;
    margin-bottom: 1rem;
}

/* Featured Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-card .placeholder-image {
    height: 250px;
    background: linear-gradient(45deg, #1A2E40, #2C4A63);
    margin: 0;
    border-radius: 0;
    border: none;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #1A2E40;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    background-color: #F8F8F8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.vm-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.vm-item h3 {
    color: #E0A800;
    margin-bottom: 0.5rem;
}

.partnerships {
    margin-top: 2rem;
}

.partnerships h3 {
    color: #1A2E40;
    margin-bottom: 1rem;
}

.partnerships ul {
    list-style: none;
}

.partnerships li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
}

.partnerships li:last-child {
    border-bottom: none;
}

/* Services Section */
.services-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-detail {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #E0A800;
}

.service-detail h3 {
    color: #1A2E40;
    margin-bottom: 1rem;
}

/* Projects Section */
.projects {
    background-color: #F8F8F8;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 2px solid #E0A800;
    background: transparent;
    color: #1A2E40;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background-color: #E0A800;
    color: #ffffff;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-item .placeholder-image {
    height: 200px;
    margin: 0;
    border-radius: 0;
    border: none;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: #1A2E40;
    margin-bottom: 0.5rem;
}

.project-category {
    color: #E0A800;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: #1A2E40;
    display: block;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.contact-form {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1A2E40;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E0A800;
}

/* Footer */
.footer {
    background-color: #1A2E40;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #E0A800;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #E0A800;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    padding: 0.5rem;
    border: 1px solid #E0A800;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #E0A800;
    color: #1A2E40;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2C4A63;
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1A2E40;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .project-categories {
        justify-content: center;
    }
    
    .category-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .projects-grid,
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}



/* Enhanced responsive typography for KRB website */

/* Hero section title */
.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Hero description */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Section titles */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

/* Service card titles */
.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 0.5rem;
}

/* Service card descriptions */
.service-card p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.5;
}

/* Navigation links */
.nav-link {
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

/* Button text */
.btn {
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 28px);
}

/* Footer text */
.footer {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

/* Contact form labels and inputs */
.contact-form label {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-form input,
.contact-form textarea {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* General responsive typography system */
html {
    font-size: clamp(14px, 1.5vw, 18px);
}

body {
    font-family: inherit;
    font-size: 1rem; /* Inherits from html */
    line-height: 1.6;
    color: #333;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1rem;
}

/* Text wrapping and overflow handling */
.text-responsive {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.break-long-words {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}




/* Enhanced responsive typography for KRB website */

/* Hero section title */
.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Hero description */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Section titles */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
}

/* Service card titles */
.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 0.5rem;
}

/* Service card descriptions */
.service-card p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.5;
}

/* Navigation links */
.nav-link {
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

/* Button text */
.btn {
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 28px);
}

/* Footer text */
.footer {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
}

/* Contact form labels and inputs */
.contact-form label {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-form input,
.contact-form textarea {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* General responsive typography system */
html {
    font-size: clamp(14px, 1.5vw, 18px);
}

body {
    font-family: inherit;
    font-size: 1rem; /* Inherits from html */
    line-height: 1.6;
    color: #333;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1rem;
}

/* Text wrapping and overflow handling */
.text-responsive {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.break-long-words {
    word-break: break-all;
    overflow-wrap: anywhere;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}


