/* Base Styles */
:root {
    --primary-color: #1a3b29; /* Deep green */
    --primary-light: #2a4d38; /* Lighter green */
    --secondary-color: #d4af37; /* Gold */
    --secondary-light: #e8c252; /* Lighter gold */
    --dark-color: #121e17; /* Very dark green */
    --light-color: #f5f9f7; /* Off-white */
    --text-color: #333;
    --text-light: #666;
    --gray-light: #e0e0e0;
    --border-radius: 6px; /* Slightly larger radius */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Softer shadow */
    --transition: all 0.3s ease;
    --navbar-height: 80px;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
}

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

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

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem; /* Increased padding */
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem; /* Slightly larger */
    border-radius: var(--border-radius);
    font-weight: 600; /* Bolder */
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-pdf {
    background-color: var(--text-light);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-pdf:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-contact {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
	padding:4px;
    transition: var(--transition);
    background-color: var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-contact:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid var(--primary-color); /* Thicker border */
    color: var(--primary-color);
    background: transparent;
    padding: 0.65rem 1.65rem; /* Adjusted for border */
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem; /* More space */
    position: relative;
    font-size: 2rem; /* Larger */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px; /* Thicker */
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Header Styles - Keeping original as requested */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 1.5rem;
}

.nav a {
    font-weight: 500;
}

.nav a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section Enhancements */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content .subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--light-color);
	padding:4px;
    box-shadow: 0 4px 12px rgba(0,0,0, 0.3);
}

.btn-contact:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
	color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-10deg);
    transition: var(--transition);
    animation: fadeIn 1s ease-out, float 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Specializations Section */
.specializations {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.specialization-card {
    background-color: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.specialization-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.specialization-card .icon {
    font-size: 2.75rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.specialization-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.specialization-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Projects Section */
.featured-projects {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.project-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

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

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

blockquote {
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
    padding: 0 2rem;
}

blockquote::before,
blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.3;
    position: absolute;
}

blockquote::before {
    top: -1rem;
    left: -1rem;
}

blockquote::after {
    bottom: -3rem;
    right: -1rem;
}

cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1.5rem;
    display: block;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) translateY(-10px);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.15rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles - Keeping original as requested */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: white;
}

.footer-col a:hover {
    color: var(--secondary-light);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================= */
/* About Page Styles */
/* ============================================= */

.about-page {
    padding-bottom: 4rem;
}

.about-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

.about-hero .subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.about-content {
    padding: 5rem 0;
}

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

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(10deg);
    transition: var(--transition);
    animation: fadeInLeft 0.8s ease-out;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(5deg) translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    animation: fadeInRight 0.8s ease-out;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2.5rem 0 1.5rem;
}

.about-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-text li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.about-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    font-size: 2.25rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 100px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 100px;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    text-align: center;
    border-radius: var(--border-radius);
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

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

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    margin-left: 1.5rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.timeline-content li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Education Section */
.education-section {
    padding: 5rem 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

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

.education-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.education-card p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.education-card .date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(20deg) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(10deg) translateX(0);
    }
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
    }
    
    .about-image:hover {
        transform: translateY(-10px);
    }
    
    .timeline {
        padding-left: 80px;
    }
    
    .timeline::before {
        left: 80px;
    }
    
    .timeline-date {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.25rem;
    }
    
    .about-hero .subtitle {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 0;
        padding-top: 60px;
    }
    
    .timeline-date {
        left: 0;
        top: 0;
        width: calc(100% - 4rem);
        margin: 0 2rem;
    }
}

@media (max-width: 576px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .timeline-date {
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* Enhanced Styles for Other Pages Below */
/* ============================================= */

/* Contact Page Styles */
.contact-page {
    padding-bottom: 4rem;
}

.contact-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 59, 41, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.file-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.info-card {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-content p, 
.info-content a {
    color: var(--text-color);
}

.service-areas {
    margin-top: 2rem;
}

.service-areas h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-areas ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.service-areas li {
    background-color: var(--light-color);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.service-areas li::before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.contact-cta {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    margin-top: 4rem;
}

.contact-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Skills Page Styles */
.skills-page {
    padding-bottom: 4rem;
}

.skills-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.skills-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skills-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.skills-matrix {
    padding: 4rem 0;
}

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

.skills-category {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.skills-category h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-category h2 i {
    color: var(--secondary-color);
}

.skill {
    margin-bottom: 1.75rem;
}

.skill h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.skill-level {
    height: 8px;
    background-color: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    border-radius: 4px;
}

.industry-list {
    list-style: none;
}

.industry-list li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.5;
}

.industry-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.additional-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.skill-tag:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.standards-section {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.standard-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.standard-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary-color);
    font-size: 1.25rem;
}

.standard-card ul {
    list-style: none;
}

.standard-card li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.standard-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}



/* Project Detail Page Styles */
.project-detail {
    padding-bottom: 4rem;
}

.project-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: white;
}

.project-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.project-hero .subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
}

.project-overview {
    padding: 4rem 0;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(75px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.meta-item h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.meta-item p {
    color: var(--text-color);
    font-weight: 500;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.project-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-image img:hover {
    transform: scale(1.02);
}

.project-text h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.project-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-text h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
}

.project-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-text li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.design-process {
    margin: 4rem 0;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    flex: 0 0 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    line-height: 1.7;
    color: var(--text-color);
}

.project-results {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

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

.result-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.result-text {
    color: var(--text-color);
    font-weight: 500;
}

.technical-details {
    margin: 4rem 0;
}

.technical-details h3 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.spec-item {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.spec-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.spec-item ul {
    list-style: none;
}

.spec-item li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.spec-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    line-height: 1;
}

.project-gallery {
    padding: 4rem 0;
}

.project-gallery h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    background-color: white;
    font-style: italic;
    color: var(--text-light);
}

.project-navigation {
    margin-top: 4rem;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 992px) {
    .contact-grid,
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        order: -1;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .nav {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .nav li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
/*    .project-meta {
        grid-template-columns: 1fr 1fr;
    }*/
    
    .results-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .project-meta,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-options {
        justify-content: flex-start;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 0.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================= */
/* Blog Page Styles */
/* ============================================= */

.blog-page {
    padding-bottom: 4rem;
}

.blog-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.blog-hero .subtitle {
    font-size: 1.35rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.blog-categories {
    background-color: var(--light-color);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: var(--navbar-height);
    z-index: 100;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background-color: white;
    color: var(--text-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-grid-section {
    padding: 4rem 0;
}

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

.blog-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.75rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-category {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-category[data-category="cad"] {
    color: #457b9d;
}

.blog-category[data-category="fea"] {
    color: #e63946;
}

.blog-category[data-category="standards"] {
    color: #2a9d8f;
}

.blog-category[data-category="design"] {
    color: #f4a261;
}

.blog-content h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: inherit;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    margin-top: 2rem;
}

.blog-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Blog Post Styles */
.blog-post {
    padding-bottom: 4rem;
}

.post-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: white;
}

.post-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.post-category {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.post-date, .read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date::before {
    content: '\f133';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.read-time::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.post-content {
    padding: 4rem 0;
}

.post-image {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-body h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.post-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.post-body h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
}

.post-body h4 {
    color: var(--text-color);
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
}

.post-body p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.post-body ul, .post-body ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

thead {
    background-color: var(--primary-color);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--gray-light);
}

th {
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: var(--light-color);
}

.formula {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-family: monospace;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.25rem;
    overflow-x: auto;
}

pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
}

code {
    font-family: 'Courier New', monospace;
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.design-example, .fea-steps {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.fea-step {
    margin-bottom: 1.5rem;
}

.fea-step:last-child {
    margin-bottom: 0;
}

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

.mistake-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 3px solid var(--secondary-color);
}

.mistake-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 3rem 0;
}

.post-tags span {
    font-weight: 600;
    color: var(--text-color);
}

.post-tags a {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.prev-post, .next-post {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.prev-post:hover, .next-post:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

.next-post {
    text-align: right;
}

.prev-post span, .next-post span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.prev-post h3, .next-post h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
}

/* Responsive Styles for Blog */
@media (max-width: 992px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-hero .subtitle {
        font-size: 1.15rem;
    }
    
    .post-hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .post-body h2 {
        font-size: 1.5rem;
    }
    
    .post-body h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-hero .subtitle {
        font-size: 1rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
    }
    
    .post-hero h1 {
        font-size: 1.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .post-body h2 {
        font-size: 1.35rem;
    }
}

/* ============================================= */
/* Resources Page Styles */
/* ============================================= */

.resource-page {
    padding-bottom: 4rem;
}

.resource-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.resource-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.resource-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: white;
}

/* Calculator Section */
.calculator-section {
    padding: 4rem 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.calculator-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-form h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.form-group label {
    width: 100%;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input {
    flex: 1;
    min-width: 150px;
}

.form-group select {
    width: auto;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 59, 41, 0.2);
}

.calculator-results {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.calculator-results h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.results-card {
    margin-bottom: 2rem;
}

.result-item {
    margin-bottom: 1.5rem;
}

.result-item h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.result-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.formula {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-family: monospace;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.25rem;
    overflow-x: auto;
}

.calculation-details ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.calculation-details li {
    margin-bottom: 0.5rem;
}

/* Resources Index Page */


.resources-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.resources-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resources-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.resources-categories {
    padding: 4rem 0;
    background-color: var(--light-color);
}

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

.category-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.category-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.featured-resources {
    padding: 4rem 0;
}

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

.resource-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-image {
    height: 200px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.resource-content h3 a {
    color: inherit;
    transition: var(--transition);
}

.resource-content h3 a:hover {
    color: var(--secondary-color);
}

.resource-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* GD&T Guide Specific Styles */
.download-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.download-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.download-info p {
    opacity: 0.9;
}

.gdandt-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.principle-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 3px solid var(--secondary-color);
}

.principle-icon {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.principle-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.principle-card ul {
    margin-left: 1rem;
}

.principle-card li {
    margin-bottom: 0.5rem;
}

.gdandt-symbols {
    margin: 3rem 0;
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.symbol-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.symbol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.symbol-illustration {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.gdandt-symbol {
    font-size: 2.5rem;
    font-weight: bold;
}

.symbol-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.symbol-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.gdandt-application {
    margin: 3rem 0;
}

.application-example {
    margin-bottom: 3rem;
}

.application-example h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.example-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.example-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.example-image img {
    width: 100%;
    height: auto;
    display: block;
}

.example-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.example-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.example-text li {
    margin-bottom: 0.5rem;
}

.gdandt-tips {
    margin: 3rem 0;
}

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

.tip-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 3px solid var(--secondary-color);
}

.tip-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.tip-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive Styles for Resources */
@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .example-content {
        grid-template-columns: 1fr;
    }
    
    .example-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .download-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .resources-hero h1 {
        font-size: 2rem;
    }
    
    .resources-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .category-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* Success Page Styles */
/* ============================================= */

.success-page {
    padding-bottom: 4rem;
}

.success-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.8s both;
}

.success-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.success-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.success-content {
    padding: 4rem 0;
}

.success-card {
    background-color: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.success-card h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.75rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.success-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.success-steps {
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex: 0 0 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.success-note {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.success-note h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.success-note p {
    color: var(--text-color);
    line-height: 1.6;
}

.success-note a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.success-note a:hover {
    color: var(--secondary-color);
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .success-card {
        padding: 2rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .step-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .success-hero h1 {
        font-size: 2rem;
    }
    
    .success-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .success-card {
        padding: 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
    }
}








/* ============================================= */
/* Projects Case Study Styles */
/* ============================================= */

.detailed-case-studies {
    padding: 4rem 0;
}

.case-study {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 4rem;
    overflow: hidden;
}

.case-study-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.case-study-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.project-meta .company {
    font-weight: 500;
	color: var(--secondary-color);
}

.project-meta .date {
    opacity: 0.9;
	color: var(--primary-light);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.case-study-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.case-study-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.case-study-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.design-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature p {
    color: var(--text-color);
    line-height: 1.6;
}

.case-study-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.case-study-gallery figure {
    margin: 0;
}

.visual-placeholder {
    background-color: #f5f5f5;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

figcaption {
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

.case-study-sidebar {
    position: relative;
}

.key-facts {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.key-facts h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.key-facts ul {
    list-style: none;
}

.key-facts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--gray-light);
    font-size: 0.95rem;
}

.key-facts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.key-facts strong {
    color: var(--primary-color);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.25rem;
}

.tech-tags {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.tech-tags h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-tag {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin: 0.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.standards-box {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.standards-box h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.standards-box ul {
    list-style: none;
}

.standards-box li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.standards-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.project-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-light);
    text-align: center;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.read-more-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .case-study-content {
        grid-template-columns: 1fr;
    }
    
    .design-features {
        grid-template-columns: 1fr;
    }
    
    .case-study-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .case-study-header h1 {
        font-size: 1.75rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .case-study-header {
        padding: 1.5rem;
    }
    
    .case-study-content {
        padding: 1.5rem;
    }
    
    .case-study-text h2 {
        font-size: 1.35rem;
    }
}


.resume-button {
	display: inline-block;
	background-color: transparent;
	color: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	padding: 0 1em;
	text-decoration: none;
	border-radius: 5px;
	margin: 0 1em;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	font-family: 'Roboto Mono', monospace;
}

.resume-button:hover, .submit-button:hover {
    background-color: var(--primary-color);
    font-color: var(--light-color);
    color: var(--dark-bg);
    box-shadow: 0 0 1em rgba(100, 255, 218, 0.7);
}


/* Mobile Menu Button (Hamburger Icon) */
.mobile-menu-btn {
  display: none; /* Hidden by default (shown in mobile via media query) */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-color);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Active State (X Icon) */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu */
.nav {
  transition: transform 0.3s ease;
}

/* Mobile Menu Styles - Fixed version */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: white;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav li {
        margin: 0;
    }

    .resume-button {
        margin: 1rem 0 0;
        display: block;
        text-align: center;
    }
}

/* Mobile Menu Button Animation */
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.cta-button, .submit-button {
	display: inline-block;
	background-color: transparent;
	color: var(--secondary-color);
	border: 2px solid var(--secondary-color);
	padding: 0.8em 2em;
	text-decoration: none;
	border-radius: 5px;
	margin: 0.5em 1em;
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 500;
	font-family: 'Roboto Mono', monospace;
}

.cta-button:hover, .submit-button:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 1em rgba(100, 255, 218, 0.7);
}