/* General Reset */
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@400..900&display=swap');

@font-face {
  font-family: 'Autumn in September';
  src: url('assets/AutumnInSeptember.ttf') format('truetype');
}

:root {
  --primary-color: #191F55;
  --secondary-color: #3A48C4;
  --three-color: #2166FF;
  --four-color: #E8EFFF;
  --background-dark: #000000;
  --background-light: #f4f4f4;
  --text-light: #ffffff;
  --text-dark: #202020;
  --font-family: "Maven Pro";
  --font-family-2: 'Autumn in September';
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

body {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: white;
  line-height: 1.6;
  align-items: center;
}

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header section */
.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5% 0%;
  width: 1280px;
}

header {
  display: flex;
  justify-content: center;
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

header .logo img {
  width: 130px;
}

header .cta {
  height: 50px;
  background: var(--primary-color);
  width: 150px;
  border: none;
  padding: 10px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: unset;
}
/* Header section end*/

/* Nav section*/
.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 50px;
  padding: 5px 20px;
}

.nav-toggle {
  display: none;
}

.nav-links {
  display: flex;
  gap: 10px;                                                          
  padding: 10px;
  border-radius: 5px;
  font-size: large;
}

.nav-links.show {
  display: flex;
}

nav a:hover {
  color: var(--three-color);
}

#Zapocni a {
  text-decoration: none;
  color: white;
}
/* Nav section end*/

/* Hero Section */
.hero {
  width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14% 0% 7%;
  background-color: white;
  color: var(--text-light);
}

.hero-left {
  display: flex;
  width: 50%;
  flex-direction: column;
  align-content: space-around;
  align-items: flex-end;
  flex-wrap: wrap;
}

.hero-button-left {
  padding-top: 30px;
}

.hero-left img {
  width: 55px;
  position: relative;
  float: right;
  right: -10px;
  top: -3px;
}

.hero-right img {
  width: 70%;
}

.hero-right {
  width: 50%;
}
  
.hero h1 {
  font-size: 5rem;
  color: var(--secondary-color);
  line-height: 1em;
  text-align: left;
}

.hero p {
  margin: 20px 0;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.3em;
  text-align: left;
}

.hero button {
  background: #3574eb;                                              
  font-family: var(--font-family);
  font-weight: 500;
  width: 215px;
  height: 50px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.hero button:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease;
} 

.hero button a {
  color: white;
  text-decoration: none;
  position: relative;
  top: 16px;
  font-size: 16px;
  left: 8px;
}
/* Hero section end*/

#analytics, #project-hub, #pricing, #testimonials, #faq {
  padding: 50px 250px;
}

.container-blue {
  background-color: var(--three-color);
  width: 100%;
  display: flex;
  justify-content: center;
}

/*features section novi*/
#features {
  width: 1280px;
  padding: 80px 0%;
  text-align: center;
}

.features-text {
  display: flex;
  width: 100%;
  padding-top: 25px;
  margin-bottom: 60px;
  justify-content: center;
  gap: 10%;
}

.features-text p {
  color: white;
  font-size: 2rem;
  line-height: 1.3em;
  text-align: center;
}

#features h1 {
  color: white;
  font-size: 3rem;
  line-height: 1em;
  text-align: center;
  font-weight: 700;
}

.icon {
  height: 40%;
}

.icon img {
  width: 90px;
}

.feature-icon-text {
  line-height: 1em;
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 85px;
  justify-content: center;
  align-items: stretch;
}

.features-card {
  background: white;
  padding: 55px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.features-card:hover {
  transform: translateY(-15px);
  transition: transform 0.5s ease;
}

.features-card h3 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  line-height: 1em;
  margin: 15px 0;
}

.features-card p {
  color: var(--secondary-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* Dark middle card */
.dark-card {
  background: var(--primary-color);
  color: white;
}

.dark-card h3,
.dark-card p {
  color: white;
}

#project-hub .features .feature {
  flex: 1 1 45%;
  color: #cccccc;
  border-radius: 12px;
}
.features .feature {
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.features .feature:hover {
  background-color: #3b2b7b; 
  color: var(--secondary-color) !important;
}
/* Features section end*/

/* Form Message Styling */
.form-message {
  width: 50%;
} */

.feature {
  cursor: pointer;
  padding: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.feature:hover {
  background-color: #e0e0e0; 
}

.feature.selected {
  background-color: #3b2b7b; 
  color: var(--secondary-color) !important;
  font-weight: bold;
  border-radius: 12px;
}

/*Info section*/
.info {
  width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0%;
  background-color: white;
  color: var(--text-light);
}

.info-left {
  width: 40%;
}

.info-right {
  width: 60%;
}

.info img {
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
}
  
.info h1 {
  font-size: 4rem;
  color: var(--secondary-color);
  text-align: left;
  line-height: 1.1em;
  display: table-caption;
}

.info p {
  margin: 20px 0;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--primary-color);
  text-align: left;
  line-height: 1.3em;
}

.info button {
  background: #3574eb;
  padding: 11px 30px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.info button a {
  color: white;
  text-decoration: none;
}
/*Info section end*/

/* novi FAQ i CONTACT US SECTION BLUE VERSION*/
.container-light-blue {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--four-color);
}

#faq {
  border-radius: 10px;
  padding: 15% 10%;
  width: 1280px;
}
.faq-title {
  text-align: left;
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}
.faq-item {
  padding-bottom: 20px;
}
.faq-question {
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-color);
}

.faq-question span{
  font-size: xx-large;
}

.faq-answer {
  width: 96%;
  display: none;
  font-size: 1.1rem;
  padding: 10px 0px;
  color: var(--primary-color);

}
/* Contact Us Section */
.contact-us {
  width: 1280px;
  padding: 80px 0%;
  background: white;
  text-align: left;
}
.contact-title {
  font-size: 55px;
  color: var(--secondary-color);
}

.contact-text {
  font-size: 25px;
  color: var(--primary-color);
  padding-bottom: 40px;
  line-height: 1.3em;
}

.contact-us form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 70%;
}

.contact-us label {
  font-size: 16px;
  font-weight: 600;
  color: #1A1A1A;
}

.contact-us input,
.contact-us textarea {
  width: 88%;
  height: 50px;
  padding: 12px;
  border: 1px solid #D1D1D1;
  border-radius: 15px;
  font-size: 16px;
  color: var(--primary-color);
}

.contact-us input::placeholder {
  color: var(--primary-color);
  text-align: center;
}

.contact-us textarea {
  min-height: 120px;
  resize: none;
}

.contact-us button {
  background-color: var(--primary-color);
  color: white;
  height: 50px;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  border-radius: 15px;
  cursor: pointer;
  width: 88%;
}

.contact-us-subtitle {
  font-size: 40px;
  line-height: 1.3em;
  text-align: left;
  padding-top: 40px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 5%;
}

.contact-us-subtitle p {
  font-family: var(--font-family-2), sans-serif;
  font-size: 70px;
  line-height: 0.9em;
}

.contact-us-subtitle img {
  width: 30%;
}

.contact-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.contact-content {
  width: 50%;
  display: flex;
  gap: 50px;
  flex-direction: column;
  align-items: center;
}

.contact-image {
  width: 50%;
  text-align: center;
}

.contact-image img {
  width: 75%;
  text-align: center;
}

.container-primary-blue {
  display: flex;
  width: 100%;
  background: var(--primary-color);
  justify-content: center;
}
/*FAQ i CONTACT-US section end*/

/* Footer section */
footer {
  color: white;
  padding: 3% 0%;
  width: 1280px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  font-size: small;
}

.footer-left a {
  color: var(--three-color); 
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
/*Footer section end*/

/* Social Icons */
.social-links {
  display: flex;
  gap: 25px;
}

.social-links a img {
  width: 35px;
  height: 25px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
/*Social-links section end*/

/* Form Styling */
.form-message {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 50%;
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .container-header, .info,.contact-us, .hero {
    width: 100%;
  }

  .container-header {
    padding: 5% 10%;
  }

  .container {
    padding: 0px 10%
  }

  .hero, .info, .contact-container {
    flex-direction: column;
  }

  .nav-links.show {
    flex-direction: row;
    position: absolute;
    top: 100%;
    background: white;
    width: 100%;
    left: 0px;
    align-items: center;
    z-index: 1000;
    justify-content: space-evenly;
  }

  .hero {
    margin-top: 15%;
  }

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

  header .logo {
    display: flex;
    width: auto;
  }

  header img {
    width: 130px;
  }
  
  .hero-right, .hero-left, .info-left, .info-right, .contact-content, .contact-image, #faq {
    width: 100%;
  }

  .hero-left {
    align-items: center;
  }

  .hero p br {
    display: none;
  }

  .hero p {
    text-align: center;
  }

  .cta {
    display: none;
  }

  .nav-links {
    display: none;
    border-radius: 0px
  }

  .container-blue,.container-light-blue, .container-primary-blue {
    width: 1024px;
  }

  #features {
    width: 80%;
    padding: 60px 0%;
  }

  .features-text {
    padding-top: 0px;
  }

  .feature-grid {
    display: flex;
    gap: 22px;
  }
  
  .features-card {
    padding: 30px;
  }
  .contact-us {
    padding: 15% 0%;
  }

  .contact-content {
    width: 100%;
  }

  .contact-us button, .contact-us input, .contact-us form {
    width: 100%;
  }

  footer {
    width: 100%;
    padding: 7% 10%;
  }

}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero.adjusted {
    margin-top: 150px;
  }

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

  header .logo {
    display: flex;
    width: auto;
  }

  header img {
    width: 130px;
  }

  .hero p br {
    display: none;
  }

  .cta {
    display: none;
  }

  .container-blue,.container-light-blue, .container-primary-blue {
    width: 768px;
  }

  #features {
    width: 80%;
    padding: 60px 0%;
  }

  .features-text {
    padding-top: 0px;
  }

  .feature-grid {
    justify-items: center;
    flex-direction: column;
    padding: 0px 10%;
  }

  .contact-content {
    width: 100%;
  }

  .contact-us button, .contact-us input, .contact-us form {
    width: 100%;
  }

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

}

@media (max-width: 576px) {
  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav-links.show {
    flex-direction: column;
  }

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

  header .logo {
    display: flex;
    width: auto;
  }

  .hero.adjusted {
    margin-top: 265px;
  }

  header img {
    width: 130px;
  }

  .hero p br {
    display: none;
  }

  .cta {
    display: none;
  }

  .container-blue {
    width: 576px;
  }

  #features {
    width: 100%;
    padding: 60px 0%;
  }

  .features-text {
    padding-top: 0px;
  }

  .container-light-blue {
    width: 576px;
  }

  .contact-content {
    width: 100%;
  }

  .contact-us button, .contact-us input, .contact-us form {
    width: 100%;
  }

  .container-primary-blue {
    width: 576px;
  }

}

@media (max-width: 425px) {

  .container-light-blue,.container-primary-blue, .container-blue {
    width: 425px;
  }

  .hero h1, .info h1, #features h1 {
    font-size: 3rem;
  }

  .hero p, .info p {
    font-size: 1.4rem;
  }

  .contact-title {
    font-size: 2.8rem;
    line-height: 1.1em;
  }

  .contact-text {
    font-size: 1.1rem;
    padding-top: 20px;
  }

  .contact-text br {
    display: none;
  }

  .faq-answer {
    font-size: 0.8rem;
  }

  .faq-title {
    font-size: 3rem;
    line-height: 1em;
  }

  .faq-question {
    font-size: 1.2rem;;
  }

  .info {
    padding: 35px 0%;
  }
}

@media (max-width: 375px) {

  .container-light-blue,.container-primary-blue, .container-blue {
    width: 375px;
  }

  .hero h1, .info h1, #features h1 {
    font-size: 2.6rem;
  }

  .contact-title {
    font-size: 2.8rem;
    line-height: 1.1em;
  }

  .contact-text {
    font-size: 1.1rem;
    padding-top: 20px;
  }

  .contact-text br {
    display: none;
  }

  .faq-answer {
    font-size: 0.8rem;
  }

  .faq-title {
    font-size: 3rem;
    line-height: 1em;
  }

  .faq-question {
    font-size: 1.2rem;;
  }

}

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

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

  .container-light-blue,.container-primary-blue, .container-blue {
    width: 320px;
  }

  .info h1, #features h1 {
    font-size: 2.8rem;
  }

  .hero p, .info p {
    font-size: 1.2rem;
  }

  .features-card {
    padding: 55px 0px;
  }

  .features-card h3 {
    font-size: 2rem;
  }

  .feature-grid {
    gap: 25px;
  }

  .info {
    padding: 20px 0px;
  }

  .faq-title {
    font-size: 2.6rem;
    line-height: 1em;
  }

  .faq-answer {
    font-size: 0.8rem;
  }

  .contact-title {
    font-size: 2.6rem;
    line-height: 1.1em;
  }

  .contact-text {
    font-size: 1.1rem;
    padding-top: 20px;
  }

  .contact-text br {
    display: none;
  }

  .contact-us-subtitle {
    padding: 0px;
  }

  .contact-us-subtitle p {
    font-size: 3.7rem;
  }

  .social-links {
    gap: 10px;
  }

  .footer-left {
    font-size: 0.7rem;
  }
}