:root {
    --primary-color: #1c93ab;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f8f9fa;
    --accent-color: #e67e22;
    --transition: all 0.3s ease;
}

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

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

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

/* New Header Styles */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Updated desktop-nav styles for centered positioning */
.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.desktop-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
    padding: 0.5rem 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

/* Push header-contact to the far right */
.header-contact {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.header-contact a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 2000;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 1rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.mobile-logo {
    height: 40px;
    width: auto;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background-color: rgba(0,0,0,0.05);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 1rem;
}

.mobile-nav a {
    display: block;
    padding: 0.8rem 0;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--primary-color);
}

.mobile-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-contact a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    padding: 0.5rem 0;
}

.mobile-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .header-contact span {
        display: none;
    }
    
    .header-contact {
        gap: 1rem;
    }
    
    .header-contact a {
        font-size: 1.2rem;
    }
    
    .header-container {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav, 
    .header-contact {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo img {
        height: 40px;
    }
}

/* Hero Section - Index Page */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin: 0;
    padding: 0;
    left: 0;
    right: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transform: translateY(25%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Modern Hero Section - Other Pages */
.modern-hero {
    position: relative;
    height: 40vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    margin: 0;
    padding: 30vh 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(40px);
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modern-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modern-hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.modern-hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation: float 6s ease-in-out infinite;
}

.modern-hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-text);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .cta-button:hover {
    background-color: transparent;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .modern-hero {
        height: 35vh;
    }
    
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1.1rem;
    }

    .hero .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .modern-hero {
        height: 30vh;
    }
    
    .modern-hero-title {
        font-size: 2rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1rem;
    }

    .hero .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-link:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--background-color);
}

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

.about-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.learn-more-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-text);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.learn-more-button:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

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

.footer-logo-img {
    width: 250px;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-menu {
        width: 100%;
    }

    .nav-menu ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-info {
        justify-content: center;
        width: 100%;
    }

    .modern-hero-title {
        font-size: 2.5rem;
    }

    .modern-hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 6rem 0 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Services Page */
.services-grid {
    padding: 2rem 0;
}

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

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-features {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-features i {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Contact Page */
.contact-section {
    padding: 2rem 0 5rem;
}

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

.contact-info-card,
.contact-form-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-item .contact-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.contact-item .contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.1);
    background: white;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    margin: 1rem auto 0;
}

.submit-button:hover {
    background: #167a8f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 147, 171, 0.3);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    color: white;
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Extras Page */
.resources-section {
    padding: 2rem 0;
}

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

.resource-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.resource-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    margin-top: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.resource-button:hover {
    background-color: var(--accent-color);
}

.faq-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.faq-section h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .contact-grid,
    .resources-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-form-card h3 {
        font-size: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
    }
}

/* Service Detail Page Styles */
.service-detail {
    padding: 4rem 0;
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-description {
    margin-bottom: 3rem;
}

.service-description h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-description > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.service-feature {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-feature h3 {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-feature h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.service-feature p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-color), #167a8f);
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 30px rgba(28, 147, 171, 0.2);
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.service-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-cta h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.service-cta .cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-block;
}

.service-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
}

/* Service Link Styles */
.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-link:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Projects Gallery */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

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

.project-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #fff;
}

.project-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.projects-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(77, 166, 255, 0.2);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-button {
    position: relative;
    min-width: 150px;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* Form validation styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.footer-contact a,
.contact-link {
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.footer-contact a:hover,
.contact-link:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* Header contact info */
.header .contact-info,
.header .contact-info a,
.header .contact-link {
  color: var(--text-color) !important;
  text-decoration: none;
}
.header .contact-info a:hover,
.header .contact-link:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

/* Footer contact info */
.footer-contact a {
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.footer-contact a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

.mobile-hero {
  display: none;
}

@media (max-width: 768px) {
  .hero {
    display: none !important;
  }
  .mobile-hero {
    display: flex !important;
    position: relative;
    width: 100vw;
    min-height: 40vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    overflow: hidden;
    padding: 30vh 0 30vh 0;
  }
  .mobile-hero .modern-hero-shape {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    z-index: 1;
    backdrop-filter: blur(5px);
  }
  .mobile-hero .modern-hero-shape-1 {
    width: 200px;
    height: 200px;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
  }
  .mobile-hero .modern-hero-shape-2 {
    width: 120px;
    height: 120px;
    bottom: -60px;
    left: -60px;
    animation: float 8s ease-in-out infinite reverse;
  }
  .mobile-hero .modern-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    transform: translateY(0);
  }
  .mobile-hero .modern-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  .mobile-hero .modern-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }
}

/* Contact page main info (not header/footer) */
.contact-info-card,
.contact-info-card .contact-details,
.contact-info-card .contact-link,
.contact-info-card .contact-item,
.contact-info-card .contact-item h4,
.contact-info-card .contact-item i {
  color: var(--text-color) !important;
}

/* Header contact info (ensure grey) */
.header .contact-info,
.header .contact-info a,
.header .contact-link {
  color: var(--text-color) !important;
}

.contact-info-card .contact-item i {
  color: var(--primary-color) !important;
}

/* Project Detail Page Styles */
.breadcrumb {
    background-color: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb a:hover::after {
    width: 100%;
}

.breadcrumb span {
    color: #dee2e6;
    font-size: 0.875rem;
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 600;
}

/* Project Hero Section */
.project-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #167a8f 100%);
    padding: 4rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 30s linear infinite;
}

.project-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.project-category-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.project-meta i {
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Project Content */
.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Project Gallery */
.project-gallery {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.main-image {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(28, 147, 171, 0.3);
}

/* Project Info Section */
.project-info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.project-info-section h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.project-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.project-specs,
.project-challenge,
.project-solution,
.project-results {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.specs-list {
    list-style: none;
    padding: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specs-list li {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    color: #555;
    transition: background 0.3s ease;
}

.specs-list li:hover {
    background: #f8f9fa;
}

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

.specs-list li strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #555;
    transition: transform 0.3s ease;
}

.results-list li:hover {
    transform: translateX(5px);
}

.results-list i {
    color: #28a745;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Related Projects */
.related-projects {
    margin-bottom: 4rem;
    padding: 4rem 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.related-projects h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #1a1a1a;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-project {
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
}

.related-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-info {
    padding: 1.5rem;
}

.related-info h4 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-category {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Project CTA */
.project-cta {
    background: linear-gradient(135deg, var(--primary-color), #167a8f);
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 15px 40px rgba(28, 147, 171, 0.3);
}

.project-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 25s linear infinite;
}

.project-cta h2 {
    margin-bottom: 1rem;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.project-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Responsive Design for Project Detail Pages */
@media (max-width: 992px) {
    .project-content {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        position: relative;
        top: 0;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .thumbnail-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .thumbnail {
        height: 60px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Make project cards clickable */
.project-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Button Styles for Project Pages */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(28, 147, 171, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(28, 147, 171, 0.3);
}

