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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a3b47;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo .logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: #1a3b47; /* Darker color for better contrast on light background */
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e85a4f;
}
@media (max-width: 768px) {
  .hero {
    padding-top: 70px;
  }
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #1a3b47;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3b47 0%, #2d5a6b 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    color: white;
    z-index: 2;
}

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

.hero-tagline {
    font-size: 1.5rem;
    color: #e85a4f;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #e85a4f, #a8dadc);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 90, 79, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 90, 79, 0.4);
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lighthouse-beam {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: beam-rotate 8s infinite linear;
    transform-origin: 50% 100%;
    opacity: 0.7;
}

@keyframes beam-rotate {
    0% {
        transform: rotate(0deg) scale(0.5);
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg) scale(0.5);
        opacity: 0.7;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f7fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3b47;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

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

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

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a3b47;
    margin-bottom: 1rem;
}

.service-content > p {
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/*.service-list {
    list-style: none;
}
*/
.service-list {
    max-height: none !important;
    overflow: visible !important;
}

.service-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a8dadc;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #1a3b47, #2d5a6b);
    border-radius: 15px;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e85a4f;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.clients-section, .geographies-section, .industries-section {
    margin-bottom: 3rem;
}

.clients-section h3, .geographies-section h3, .industries-section h3 {
    font-size: 1.5rem;
    color: #1a3b47;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.client-item {
    background: #f7fafc;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 500;
    color: #1a3b47;
    transition: all 0.3s ease;
}

.client-item:hover {
    background: #1a3b47;
    color: white;
    transform: translateY(-2px);
}

.geography-list, .industry-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.geography-list li, .industry-list li {
    background: none;
    color: #1a3b47;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.geography-list li:hover, .industry-list li:hover {
    background: #e85a4f;
    color: white;
    border-color: #e85a4f;
}

.project-types {
    margin-top: 3rem;
}

.project-types h3 {
    font-size: 1.5rem;
    color: #1a3b47;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.project-type-card {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e85a4f;
}

.project-type-card h4 {
    color: #1a3b47;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-type-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f7fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: #e85a4f;
    width: 40px;
}

.contact-item h4 {
    color: #1a3b47;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    background: linear-gradient(45deg, #e85a4f, #a8dadc);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 90, 79, 0.3);
}

/* Footer */
.footer {
    background: #1a3b47;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

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

.footer-section ul li {
    padding: 0.25rem 0;
    opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        margin: 0 10px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for stats counter */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card.animate {
    animation: countUp 0.6s ease-out;
}




/* Cleaned for mobile responsiveness */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .hero-container {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
  }

  .services-grid,
  .stats-grid,
  .clients-grid,
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 1rem;
  }

  .service-card,
  .stat-card,
  .client-item,
  .project-type-card {
    width: 100%;
    margin: auto;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Ensure no horizontal scroll on mobile */
html, body {
    width: 100%;
    overflow-x: hidden !important;
}

/* Force container and image scaling */
.container, .hero-content {
    max-width: 100%;
    overflow-wrap: break-word;
}

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

/* Ensure hero section stacks vertically on small screens */
@media (max-width: 768px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
  }
}


@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .bar {
    width: 25px;
    height: 3px;
    background: #1a3b47;
    margin: 3px 0;
  }
}


@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.4;
    padding: 0 1rem;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex !important;
  }

  .nav-menu {
    font-size: 1rem;
  }

  .service-card {
    margin: 0 10px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
  }

  .submit-btn {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

