/*
Theme Name: First Development
Theme URI: https://firstdevelopmentglobal.com/
Author: the WordPress team
Author URI: https://ekkapixels.hu/
Description: Basic Theme by Erika Molnar
Tags: one-column, custom-colors, custom-menu
Version: 1.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: first-development
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.wp-caption,
.small {
    font-size: smaller !important;
}

.wp-caption-text {
    font-size: smaller;
}

.sticky {}

.screen-reader-text {}

.gallery-caption {
    font-size: smaller;
}

.bypostauthor {}

.alignright,
.align-right {
    text-align: right;
}

.alignleft,
.align-left {
    text-align: left;
}

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

/* === RESET === */

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

code,
pre,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

iframe {
    display: block;
    max-width: 100%;
}

header li,
#main-menu li {
    list-style-type: none;
}

/* === RESPONSIVE TYPO === */

@media screen and (max-width: 479px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 480px) and (max-width: 1199px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1919px) {
    html {
        font-size: 1.2vw;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 22px;
    }
}


/* === STYLE === */


:root {
    --main-color: #6B8B8C;
    --light-color: #E9E5DF;
    --second-color: #C5A46D;
    --dark-color: #2E2E2E;
}

.ease {
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    color: #2E2E2E;
    font-family: 'Inter', sans-serif;
    font-weight: 400;

}

ul,
ol {
    padding: 0;
}

ul ul,
ul ul ul,
ol ol,
ol ol ol {
    margin: 0.5rem 0;
}

ol ol,
ol ol ol {
    padding-left: 1rem;
}

ul li {
    list-style-type: disc;
    margin-bottom: 0.25rem;
    margin-left: 1rem;
}

ul li::marker {
    color: var(--second-color);
}

ol {
    list-style: none;
    counter-reset: my-counter;
}

ol li {
    counter-increment: my-counter;
    margin-bottom: 0.25rem;
}

ol li::before {
    content: counter(my-counter) '.';
    background: var(--second-color);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: inline-block;
    line-height: 1.5rem;
    color: white;
    text-align: center;
    margin-right: 0.5rem;
}

p {
    line-height: 1.5;
}

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

a:hover {
    color: #000;
    text-decoration: none;
}


h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
}

h3,
h4 {
    font-size: 1.5rem;
    font-weight: bold;

}

h1,
h2,
h3,
h4 {
    font-family: 'Cormorant Garamond', serif;
}



h1 a,
h2 a,
h3 a,
h4 a {
    color: inherit;
}

@media screen and (max-width: 479px) {

    h1,
    h2 {
        font-size: 2rem;
    }
}

blockquote {
    background: #eee;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5rem 1.5rem;
    overflow: hidden;
    border-left: solid 5px var(--second-color);
}

hr {
    border: none !important;
    height: 3px;
    background: #eee;
}

table {
    border-spacing: 0;
    border: solid 1px #ddd;
}

td,
th {
    padding: 0.5rem 1rem;
    border: solid 1px #ddd;
}

th {
    background: #eee;
    text-align: left;
}

#logo {
    text-align: center;
}

#logo a {
    display: inline-block;
    margin: 1rem 0;
}

#logo img {
    max-width: 200px;
    height: auto;
}

body:not(.home) main {
    padding: 3rem 0;
}

section {
    padding: 6rem 1rem;
}

.hero {
    background: var(--dark-color);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Custom SVG Pattern Background */
.hero-bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

.hero-bg-svg circle,
.hero-bg-svg path,
.hero-bg-svg line {
    animation: fadeInOut 4s ease-in-out infinite;
}

.hero-bg-svg circle:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-bg-svg circle:nth-child(3) {
    animation-delay: 1s;
}

.hero-bg-svg path:nth-child(4) {
    animation-delay: 1.5s;
}

.hero-bg-svg path:nth-child(5) {
    animation-delay: 2s;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.7;
    }
}

/* Animated Grid Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(107, 139, 140, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(107, 139, 140, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 6s ease-in-out infinite;
    z-index: 1;
}

/* Gradient Glow Overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(197, 164, 109, 0.15) 0%, transparent 60%), radial-gradient(circle at 70% 50%, rgba(107, 139, 140, 0.15) 0%, transparent 60%);
    animation: gradientShift 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.7;
    }

    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.scroll-indicator {
    margin-top: 3rem;
    color: var(--main-color);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.uppercase {
    font-size: 1rem;
    color: var(--main-color);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.color {
    font-size: 1.3rem;
    color: var(--second-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.divider {
    width: 100px;
    height: 2px;
    background: var(--second-color);
    margin: 2rem auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--sand);
    margin-bottom: 3rem;
}

.line {
    border-bottom: 2px solid var(--second-color);
    padding-bottom: 1rem;
    display: inline-block;

}

.uppercase.line {
    margin: 0;
}

#founders {
    position: relative;
    padding-bottom: 0;
    padding-top: 0;
}

#founders .wp-block-columns {
    margin-bottom: 0;
}

#founders:before {
    position: absolute;
    content: '';
    display: block;
    background: var(--light-color);
    width: 100%;
    height: 5%;
    top: 0;
    left: 0;
    z-index: -1;
}

#founders:after {
    position: absolute;
    content: '';
    display: block;
    background: var(--main-color);
    width: 100%;
    height: 14%;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.media {
    position: relative;
}

.media:before {
    position: absolute;
    content: "";
    display: block;
    width: 50px;
    height: 50px;
    top: 38%;
    left: 40%;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image: url(img/youtube.svg);
}

.card {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 4px;
    border-left: 3px solid var(--second-color);
    margin-bottom: 1rem;
}

#services,
.circle-bg-left,
.circle-bg-right {
    position: relative;
}

#services:before,
#services:after,
.circle-bg-left:after,
.circle-bg-right:after {
    position: absolute;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image: url(img/main-bg.svg);
    z-index: -1;
}

#services:before {
    bottom: -30%;
    left: -40%;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

#services:after {
    top: -30%;
    right: -40%;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.circle-bg-left:after {
    bottom: -25%;
    left: -45%;
    width: 100%;
    height: 50%;
    opacity: 0.8;
}

.circle-bg-right:after {
    bottom: -25%;
    right: -45%;
    width: 100%;
    height: 50%;
    opacity: 0.8;
}

#services .img {
    max-width: 80px;
}

#services .wp-block-cb-collection {
    border: 2px solid var(--main-color);
    padding: 1.5rem;
    border-radius: 4px;
    background: #fff;
}

#services .result {
    background: var(--light-color);
    padding: 0.5rem;
    border-radius: 4px;
}

#services .wp-block-cb-collections {
    justify-content: center;
}

#epr2 .card {
    background: rgba(255, 255, 255, 0.5);
}

.button-box .wp-block-group__inner-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.ghost {
    background: transparent !important;
    border: 2px solid var(--second-color) !important;
    color: var(--second-color) !important;
}

.ghost:hover {
    background: var(--second-color) !important;
    color: #fff !important;
}

#experience .uppercase,
#decision .uppercase {
    color: var(--second-color);
}

#reviews h2 {
    font-size: 4rem;
}

.review-box {
    background: #fff;
    border-radius: 4px;
    border: 2px solid var(--main-color);
    padding: 2rem 2.5rem;
}

.review-box figure {
    margin-bottom: 0;
}

.review-box h4 {
    margin: 0;
}

.contact-form-section {
    background: rgba(107, 139, 140, 0.1);
    padding: 3rem;
    border-radius: 8px;
    border: 2px solid var(--main-color);
}

.wpcf7 label {
    color: var(--light-color);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.founder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--main-color);
    margin: 0 auto 1rem;
    border: 4px solid var(--second-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

#founder p {
    color: var(--light-color);
    font-size: 0.95rem;
    margin: 0;
}

#founder h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.contact-details {
    background: rgba(107, 139, 140, 0.1);
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid var(--second-color);
}

.contact-box {
    gap: 4em;
}

#contact input[type="submit"],
#contact input[type="button"],
#contact button,
#contact .button {
    width: 100%;
}

.email,
.phone,
.location {
    position: relative;
    padding-left: 2rem;
}

.email:before,
.phone:before,
.location:before {
    position: absolute;
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}

.email:before {
    background-image: url(img/mail.svg);
}

.phone:before {
    background-image: url(img/phone.svg);
}

.location:before {
    background-image: url(img/map.svg);
}


footer {
    background: #1A1A1A;
    color: var(--light-color);
    text-align: center;
    padding: 2rem;
    font-size: smaller;
}

#gotop {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: var(--main-color);
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
}

#gotop svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

#gotop svg path {
    fill: #fff;
}

@media screen and (max-width: 786px) {
    .reverse {
        flex-flow: column-reverse;
    }

    .button-box .wp-block-group__inner-container {
        display: block;
    }

    #reviews h2 {
        font-size: 2rem;
        text-align: center;
    }

    .review-box {
        padding: 1.5rem;
    }

    .contact-form-section {
        padding: 1.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

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

    #founders:after {

        height: 20%;
    }
}


/*===== OTHER =====*/

.post-meta ul {
    overflow: hidden;
    display: inline-block;
    margin: 0 auto;
    font-size: smaller;
}

.post-meta ul li {
    display: inline-block;
    float: left;
    margin-right: 20px;
    margin-left: 0;
}

.post-tags a,
.tagcloud a {
    display: block;
    float: left;
    padding: 0.15rem 0.25rem;
    border: solid 2px transparent;
    font-size: small !important;
    text-transform: uppercase;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: var(--main-color);
    color: #fff;
}

.post-tags a:hover,
.tagcloud a:hover {
    background: #000;
}




.pagination {
    clear: both;
    text-align: center;
    margin-top: 2rem;
}

.nav-links .current {
    color: var(--main-color);
    font-weight: bold;
}

.nav-links {
    display: inline-block;
    border-right: solid 1px #ddd;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
}

.nav-links a,
.nav-links span {
    display: block;
    float: left;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    color: inherit;
    border-left: solid 1px #ddd;
}

.nav-links a:hover {
    background: #eee;
}

#searchform {
    position: relative;
    width: 100%;
}

#searchform input[type="text"] {
    width: 100%;
    margin: 0;
}

#searchform button {
    border: none;
    height: 100%;
    width: 30px;
    position: absolute;
    right: 10px;
    background: none;
    padding: 0;
    border-radius: 0;
}

#searchform svg {
    border: none;
    height: 60%;
    width: 30px;
}

/*===== OPTIN =====*/

.page-template-page-optin header {
    display: none;
}

.page-template-page-optin main {
    padding: 0 !important;
}

.epr-list li {
    margin-bottom: 1rem;
}

.epr-icon {
    max-width: 200px;
    margin: 0 auto;
    opacity: 0.4;
    margin-bottom: 0;
}

.epr-owners {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.epr-owner {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 4px;

}

.epr-owner figure {
    max-width: 200px;
}

.epr-owner img {
    border: 2px solid var(--main-color);
}

.epr-img {
    max-width: 150px;
    opacity: 0.3;

}

.epr-founders {
    position: relative;
    padding-bottom: 0;
    padding-top: 0;
}

.epr-founders:before {
    position: absolute;
    content: '';
    display: block;
    background: var(--main-color);
    width: 100%;
    height: 15%;
    top: 0;
    left: 0;
    z-index: -1;
}

#back-button {
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: small;
}

@media screen and (max-width: 786px) {

    .epr-founders:before {
        height: 5%;
    }

    .epr-owners {
        display: block;
    }

    .epr-owner {
        margin-bottom: 1rem;
    }

}

/*===== THANK YOU =====*/

.page-template-page-tky .cky-consent-bar,
.page-template-page-tky header {
    display: none;
}

.page-template-page-tky {
    background: var(--dark-color);
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}


.page-template-page-tky .thank-box {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 3rem;
    width: 70%;
}
