/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'CocogooseCompressedThin';
    src: url('Cocogoose-Compressed-Thin-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    scroll-padding-top: 170px;
    overflow-x: hidden;
}

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

/* Header and Navigation Styles */
.site-header {
    background-color: #404a4d;
    padding-top: 50px;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-group-left,
.nav-group-right {
    flex-basis: calc(50% - 92.5px);
    display: flex;
    align-items: center;
}
.nav-group-left {
    justify-content: flex-end;
}
.nav-group-right {
    justify-content: flex-start;
}

.nav-links { /* This is the UL */
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    position: relative; /* ADDED: Enable manual positioning */
    /*
      MANUALLY ADJUST VERTICAL POSITION OF NAVIGATION LINKS HERE:
      - Use a negative value (e.g., top: -1px;, top: -2px;) to move links UP.
      - Use a positive value (e.g., top:  1px;, top:  2px;) to move links DOWN.
      - Start with small values and check the result.
    */
    top: -21px; /* <<< CHANGE THIS VALUE (e.g., -2px) TO NUDGE LINKS >>> */
}

.nav-links li {
    padding: 0 5px;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: 'CocogooseCompressedThin', sans-serif;
    text-transform: uppercase;
    color: #f0f0f0;
    text-decoration: none;
    padding: 0 18px;
    height: 44px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
    font-size: 28px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: #00AEEF;
    color: #fff;
}

.logo-area {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 165px;
    height: 165px;
    background-color: #404a4d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: none;
}

.logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-image {
    display: block;
    max-height: 150px;
    width: auto;
    height: auto;
}

/* General Section Styling (Remains the same) */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.full-width-section {
    width: 100%;
}

.light-bg {
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background-color: #00AEEF;
    margin: 15px auto 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}
.section-title.is-visible::after {
    transform: scaleX(1);
}


/* Hero Section (#home) (Remains the same) */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('https://images.pexels.com/photos/433308/pexels-photo-433308.jpeg?auto=compress&cs=tinysrgb&w=1920&h=800&dpr=2') no-repeat center center/cover;
    color: white;
    padding: 140px 0;
    text-align: center;
}
.hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}
.hero-content .tagline {
    font-size: 1.6em;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* Buttons (Remains the same) */
.btn {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background-color: #00AEEF;
    color: white;
}
.btn-primary:hover {
    background-color: #0095CC;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-secondary {
    background-color: transparent;
    color: #00AEEF;
    border: 2px solid #00AEEF;
}
.hero-section .btn-secondary {
    color: white;
    border-color: white;
}
.btn-secondary:hover {
    background-color: #00AEEF;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}
.hero-section .btn-secondary:hover {
     background-color: white;
    color: #2c3e50;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}


/* Services Section (#services) (Remains the same) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    text-align: center;
}
.service-item {
    background-color: #fff;
    padding: 35px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}
.service-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 35px rgba(44,62,80,0.15);
}
.service-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
    color: #00AEEF;
    display: inline-block;
}
.service-item h3 {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 12px;
}

/* Projects Section (#projects) (Remains the same) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}
.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(44,62,80,0.18);
}
.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-info {
    padding: 25px;
}
.project-info h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}
.text-center {
    text-align: center;
}


/* About Us Section (Remains the same) */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}
.about-text {
    flex: 2;
    min-width: 300px;
}
.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}
.about-image {
    flex: 1;
    min-width: 250px;
}
.about-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Blog Section (Remains the same) */
.blog-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.blog-post-summary {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.blog-post-summary h3 a {
    font-size: 1.3em;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}
.blog-post-summary h3 a:hover {
    color: #00AEEF;
}
.post-meta {
    font-size: 0.9em;
    color: #777;
    margin: 5px 0 10px;
}
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #00AEEF;
    text-decoration: none;
    font-weight: bold;
}
.read-more:hover {
    text-decoration: underline;
}

/* Contact Section (Remains the same) */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}
.contact-form {
    flex: 2;
    min-width: 300px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.contact-details {
    flex: 1;
    min-width: 280px;
    padding-left: 20px;
}
.contact-details h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 15px;
}
.contact-details p {
    margin-bottom: 10px;
    line-height: 1.7;
}
.contact-details a {
    color: #00AEEF;
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}
.form-group textarea {
    resize: vertical;
}
.form-group select {
    appearance: none;
    background-color: white;
}

/* Footer Bar (Remains the same) */
.site-footer-bar {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}
.site-footer-bar p {
    margin-bottom: 5px;
}
.site-footer-bar a {
    color: #ecf0f1;
    text-decoration: none;
}
.site-footer-bar a:hover {
    color: #00AEEF;
}


/* Animation Class (Remains the same) */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition-property: opacity, transform;
    transition-duration: 0.7s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-grid .service-item.fade-in-up:nth-child(1),
.projects-grid .project-card.fade-in-up:nth-child(1),
.blog-placeholder .blog-post-summary.fade-in-up:nth-child(1) { transition-delay: var(--stagger-delay, 0s); }

.services-grid .service-item.fade-in-up:nth-child(2),
.projects-grid .project-card.fade-in-up:nth-child(2),
.blog-placeholder .blog-post-summary.fade-in-up:nth-child(2) { transition-delay: var(--stagger-delay, 0.05s); }

.services-grid .service-item.fade-in-up:nth-child(3),
.projects-grid .project-card.fade-in-up:nth-child(3) { transition-delay: var(--stagger-delay, 0.1s); }

.services-grid .service-item.fade-in-up:nth-child(4) { transition-delay: var(--stagger-delay, 0.15s); }
.services-grid .service-item.fade-in-up:nth-child(5) { transition-delay: var(--stagger-delay, 0.2s); }
.services-grid .service-item.fade-in-up:nth-child(6) { transition-delay: var(--stagger-delay, 0.25s); }


/* Responsive adjustments */
@media (max-width: 992px) { /* (Remains the same) */
    .about-content {
        flex-direction: column;
    }
    .about-image {
        margin-top: 20px;
        max-width: 400px;
        align-self: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding-top: 10px;
        position: relative;
    }
    body {
         scroll-padding-top: 0;
    }
    .main-nav {
        flex-direction: column;
        height: auto;
        padding-bottom: 80px;
    }

    .nav-group-left,
    .nav-group-right {
        flex-basis: auto;
        width: 100%;
        justify-content: center;
    }
    .nav-group-left { order: 2; }
    .logo-area { order: 1; }
    .nav-group-right { order: 3; }

    .nav-links { /* UL on mobile */
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 10px;
        position: static; /* Reset relative positioning for mobile if not needed */
        top: auto;        /* Reset top for mobile */
    }

    .nav-links li { /* LI on mobile */
        padding: 0;
        width: 100%;
    }
    .nav-links a { /* A on mobile */
        font-size: 18px;
        letter-spacing: -0.3px;
        padding: 10px 15px;
        height: auto;
        width: 100%;
    }
    .logo-area {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
        margin-top: 15px;
        margin-bottom: 15px;
        width: 150px;
        height: 150px;
        background-color: #404a4d;
    }
    .logo-image {
        max-height: 135px;
        width: auto;
        height: auto;
    }

    .hero-section {
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-content .tagline {
        font-size: 1.2em;
    }
    .section-title {
        font-size: 2em;
    }

    .contact-container {
        flex-direction: column;
    }
    .contact-details {
        padding-left: 0;
        margin-top: 20px;
        text-align: center;
    }
    .contact-details h3 {
        text-align: center;
    }
}

@media (max-width: 480px) { /* (Remains the same) */
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
        width: calc(100% - 10px);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .hero-content .btn + .btn {
        margin-top: 10px;
    }
    .services-grid, .projects-grid, .blog-placeholder {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-item, .project-card, .blog-post-summary {
        padding: 25px 20px;
    }
    .hero-content h1 {
        font-size: 1.8em;
    }
    .hero-content .tagline {
        font-size: 1em;
    }
    .section-title {
        font-size: 1.8em;
    }
}