/* styles.css */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background: linear-gradient(to top, #0d0d9e 0%, black 100%);
    line-height: 2.2;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    position: relative; 
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: rgb(78, 47, 255);
    box-shadow: 0 2px 8px white;
}


.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: white;
}

.quote-button .btn {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.quote-button .btn:hover {
    background-color: rgb(255, 255, 255);
    color: black;
}

/* Mobile Navbar */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: white;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        padding: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 130px 20px 100px;
    margin-bottom: -25px;

}

.hero h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.1; 
    letter-spacing: 0.5px;
}


.hero .highlight {
    display: inline-block;
    border-bottom: 2px solid #22fd00;
    margin-bottom: 20px; 
}


.hero p {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1.25rem;
    color: #bbb;
}

.hero .btn {
    background-color: #1554c29a;
    padding: 18px 36px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.hero .btn:hover {
    background-color: #1c54b2;
}

/* circle on the text */
.circle-border {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background-color: transparent;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap; 
}

.circle-border span {
  margin: 0 12px;
}


/* Responsive adjustments */
@media screen and (max-width: 600px) {
  .circle-border {
    gap: 20px;
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}



/* Default: show icons */
.hero-icon {
    position: absolute;
    width: 250px;
    z-index: 1;
    opacity: 0.8;
}

/* Icon positions */
.hero-icon.top-left {
    top: 400px;
    left: 80px;
}

.hero-icon.top-right {
    top: 60px;
    right: 80px;
}

.hero-icon.bottom-center {
    bottom: -20px;
    left: 80%;
    transform: translateX(-50%);
}

@media screen and (max-width: 991px) {
    .hero-icon {
        display: none;
    }
}



/* Business Section */
.businesses {
    position: relative; /* Needed to position the icons inside */
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.businesses h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.business-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 0 15px rgba(73, 73, 104, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.business-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(166, 165, 255, 0.7);
}

.business-card img {
    width: 120px;          /* Increased size */
    height: auto;
    margin-bottom: 20px;   /* Slightly less space below image */
    max-width: 100%;
    object-fit: contain;
}

.business-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #eeeeee;
}

.business-card p {
    font-size: 1rem;
    margin-bottom: 205px;
    color: #ccc;
    line-height: -10.1;     /* Tighter line spacing */
    margin: 0;            /* Remove default margin for tighter layout */
}

/* Business Section Icon Styling */
.businesses .business-icon {
    position: absolute;
    width: 200px;
    z-index: 1;
    opacity: 0.8;
}

/* Unique positions */
.businesses .business-top-left {
    top: 90px;
    left: -410px;
    transform: rotate(25deg) skew(5deg, -15deg);
}

.businesses .business-top-right {
    top: 450px;
    right: -300px;
    transform: rotate(25deg) skew(-10deg, -5deg);
}

.businesses .business-top-right-NEW {
    top: 900px;
    right: -450px;
    transform: rotate(25deg) skew(20deg, -5deg);
}

.businesses .business-bottom-center {
    bottom: 10px; /* Position further down as requested */
    left: -20%;
    transform: rotate(25deg) skew(20deg, -40deg);
}

/* Hide icons on smaller screens */
@media screen and (max-width: 768px) {
    .businesses .business-icon {
        display: none;
    }
}




/* Footer Section */
.footer-section {
  width: 100%;
  background-color: #000;
  color: #ccc;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 60px 20px 40px;
  box-sizing: border-box;
}


/* Inner wrapper centers content */
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Grid layout for footer content */
.footer-content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}

/* Footer Columns */
.footer-links-section,
.footer-logo-center,
.footer-social-section {
  flex: 1 1 250px;
}

/* Center logo */
.footer-logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: -630px; 
}

.footer-logo-center img {
  max-width: 150px;
  height: auto;
}


/* Footer Links */
.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #39f;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #02c4ff;
}

/* Social Icons */
.footer-social-icons a {
  font-size: 24px;
  margin-right: 15px;
  color: #ccc;
  transition: color 0.3s;
}

.footer-social-icons a:hover {
  color: #1900ff;
}

/* Footer Bottom Text */
.footer-bottom-text {
  text-align: center;
  font-size: 0.95rem;
  color: #999;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-social-icons a {
  display: inline-block;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.footer-social-icons a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
}

.footer-social-icons a:hover img {
  transform: scale(1.2);
}

/* Optional: adjust spacing on smaller screens */
@media screen and (max-width: 768px) {
  .footer-social-icons a {
    margin-right: 10px;
  }

  .footer-social-icons a img {
    width: 22px;
    height: 22px;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .footer-content-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links-section,
  .footer-logo-center,
  .footer-social-section {
    flex: 1 1 100%;
  }

  .footer-social-icons a {
    margin: 0 10px;
  }
}


/* === COSTI CEO SECTION === */
.costi-ceo {
  background-color: #0a0a23;
  color: #ffffff;
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.costi__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.costi__content {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: justify;
}

.costi__subtitle {
  font-size: 1.1rem;
  color: #02c4ff;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

.costi__title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
}

.costi__title span {
  color: #02c4ff;
}

.costi__description {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #ccc;
}

.costi__btns {
  display: flex;
  gap: 25px;
}

.costi__btns button {
  padding: 12px 25px;
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.hire__me {
  background-color: #02c4ff;
  color: #fff;
}

.hire__me:hover {
  background-color: #0099cc;
}

.portfolio {
  background-color: transparent;
  border: 2px solid #02c4ff;
  color: #02c4ff;
}

.portfolio:hover {
  background-color: #02c4ff;
  color: #fff;
}

.costi__image img {
  width: 420px;
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* DEVELOPER SECTION */
.developer {
  padding: 100px 20px;
  background-color: #111;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.developer h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

.developer__container {
  max-width: 800px; /* controls width of content and image */
  width: 100%;
  text-align: justify;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.developer-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 40px;
}

.developer-img {
  width: 100%;             /* stretches to match container */
  max-width: 800px;        /* matches container width */
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
  margin: 0 auto 30px;     /* centers and spaces */
  display: block;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .developer h2 {
    font-size: 2rem;
  }

  .developer-description {
    font-size: 1rem;
    padding: 0 10px;
  }

  .developer-img {
    width: 100%;
  }
}


