@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #001f3f;
    --secondary-color: #0d2c54;
    --accent-color: #C9B074;
    --accent-color-dark: #b89f68;
    --text-color-primary: #1a1a1a;
    --text-color-secondary: #555;
    --bg-color-light: #f8f9fa;
    --bg-color-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-color: rgba(0, 31, 63, 0.08);
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(45deg, var(--accent-color), var(--accent-color-dark));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color-white);
    color: var(--text-color-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
}

h1.main-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-color-secondary);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--accent-color-dark);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-header {
    width: 100%;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link .logo {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.main-nav .nav-menu {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-menu li a {
    color: var(--text-color-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hero-section {
    padding: 6rem 0;
    text-align: center;
    background-color: var(--bg-color-light);
}

.project-notice {
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.project-notice a {
    font-weight: 600;
}

.contact-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px var(--shadow-color);
    text-align: left;
    border: 1px solid var(--border-color);
}

h2.form-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
}

h2.form-heading::after {
    display: none;
}

form input[type="email"],
form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: var(--bg-color-light);
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input[type="email"]:focus,
form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(201, 176, 116, 0.2);
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 31, 63, 0.2);
}

.content-section {
    padding: 6rem 0;
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: -0.5rem auto 4rem auto;
    font-size: 1.15rem;
}

.content-section:nth-of-type(even) {
    background-color: var(--bg-color-light);
}

.section-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-about .text-content h3 {
    margin-top: 2rem;
}

.section-about .text-content h3:first-of-type {
    margin-top: 0;
}

.section-about strong {
    color: var(--primary-color);
    font-weight: 600;
}

.image-gallery-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.image-gallery-about .gallery-img,
.image-gallery-services img,
.image-gallery-insights img,
.image-gallery-insights-bottom img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.image-gallery-about .gallery-img:hover,
.image-gallery-services img:hover,
.image-gallery-insights img:hover,
.image-gallery-insights-bottom img:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.15);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.service-item {
    background: var(--bg-color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.12);
}

.service-item .service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-item h3 {
    padding: 2rem 2rem 0 2rem;
    font-size: 1.4rem;
}

.service-item p {
    padding: 0 2rem 2rem 2rem;
    flex-grow: 1;
}

.image-gallery-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.section-insights .section-content-grid {
    grid-template-columns: 4fr 5fr;
}

.image-gallery-insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-content: start;
}

.image-gallery-insights img:nth-child(1) {
    grid-column: 1 / 3;
}

.image-gallery-insights-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.section-insights .text-content p {
    margin-bottom: 2rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.partner-item {
    background-color: var(--bg-color-white);
    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-color);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.partner-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.1);
}

.partner-item .partner-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.partner-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.partner-info h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.partner-info p {
    margin-bottom: 0;
    flex-grow: 1;
}

.dofollow-link {
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.dofollow-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-color-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.dofollow-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-column h4 {
    color: var(--bg-color-white);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 1.5rem;
}

.footer-column.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-column.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-column.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-column.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    animation: slideUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
}

@media (max-width: 1200px) {
    .container {
        width: 92%;
    }
    .service-grid {
        gap: 1.5rem;
    }
    .partner-grid {
        gap: 1.5rem;
    }
    .footer-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    h1.main-heading {
        font-size: 3rem;
    }
    h2.section-title {
        font-size: 2.2rem;
    }
    .main-nav {
        display: none;
    }
    .section-content-grid,
    .section-insights .section-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .section-insights .section-content-grid .image-gallery-insights {
        grid-row: 1;
    }
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }
    .image-gallery-insights-bottom {
        grid-template-columns: 1fr 1fr;
    }
    .partner-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    h1.main-heading {
        font-size: 2.5rem;
    }
    h2.section-title {
        font-size: 2rem;
    }
    .hero-section {
        padding: 4rem 0;
    }
    .content-section {
        padding: 4rem 0;
    }
    .contact-form-wrapper {
        padding: 2rem;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .image-gallery-about .gallery-img,
    .image-gallery-services img,
    .image-gallery-insights img,
    .image-gallery-insights-bottom img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    h1.main-heading {
        font-size: 2.2rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
}