/* style.css - Playful & Premium Styling for Octonite */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --logo-pink: #f891fc;
  --logo-pink-light: #fef1ff;
  --logo-pink-medium: #faaffd;
  --logo-teal: #46c5cb;
  --logo-teal-hover: #35aeb4;
  --logo-teal-light: #e8f9fa;
  
  --navy-dark: #0b132b;
  --navy-medium: #1c2541;
  --navy-light: #3a506b;
  
  --white: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.82);
  --card-border: rgba(11, 19, 43, 0.08);
  --card-shadow: 0 10px 30px -10px rgba(11, 19, 43, 0.1);
  --card-shadow-hover: 0 20px 40px -10px rgba(11, 19, 43, 0.2);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--navy-medium);
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 10% 20%, var(--logo-pink-light) 0%, var(--logo-pink) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}

/* Background blob decorations for a playful aesthetic */
body::before, body::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
}

body::before {
  background: var(--logo-teal);
  top: 15%;
  right: -100px;
  animation: float-blob 12s infinite alternate ease-in-out;
}

body::after {
  background: var(--logo-pink-medium);
  bottom: 10%;
  left: -150px;
  animation: float-blob 15s infinite alternate-reverse ease-in-out;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

/* Playful wave underline for h2 titles */
h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--logo-teal);
  border-radius: 2px;
}

p {
  color: var(--navy-light);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

a {
  color: var(--navy-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

/* --- Layout Containers --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0;
}

/* --- Header / Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(11, 19, 43, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy-dark);
}

.brand img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--logo-teal);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--logo-teal-hover);
}

/* --- Hero Section --- */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--navy-light);
  margin-bottom: 2rem;
  max-width: 550px;
}

.highlight-text {
  background: linear-gradient(120deg, var(--navy-dark) 40%, var(--logo-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-blob-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--logo-pink-medium) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
  transform: scale(1.2);
  animation: pulse-bg 8s infinite ease-in-out;
}

@keyframes pulse-bg {
  0%, 100% { transform: scale(1.2); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.hero-logo-frame {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(11, 19, 43, 0.12);
  border: 4px solid var(--logo-teal);
  transform: rotate(-3deg);
  transition: var(--transition-smooth);
  animation: float-logo 6s infinite ease-in-out;
}

.hero-logo-frame:hover {
  transform: rotate(0deg) scale(1.05);
}

.hero-logo-frame img {
  max-width: 250px;
  height: auto;
  display: block;
}

@keyframes float-logo {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-15px); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(11, 19, 43, 0.1);
}

.btn-primary {
  background-color: var(--navy-dark);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--logo-teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(70, 197, 203, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-dark);
  border: 2px solid var(--navy-dark);
}

.btn-secondary:hover {
  background-color: var(--logo-pink-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(11, 19, 43, 0.08);
}

/* --- Glassmorphic Cards --- */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(70, 197, 203, 0.3);
}

/* --- Expertise Section --- */
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-intro h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.exp-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.exp-icon-box {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(11, 19, 43, 0.05);
  border: 2px solid var(--card-border);
  transition: var(--transition-smooth);
}

.exp-card:hover .exp-icon-box {
  background-color: var(--logo-teal-light);
  border-color: var(--logo-teal);
  transform: rotate(8deg) scale(1.1);
}

.exp-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: var(--navy-dark);
  stroke-width: 2;
  fill: none;
  transition: var(--transition-smooth);
}

.exp-card:hover .exp-icon-box svg {
  stroke: var(--logo-teal-hover);
}

.exp-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.exp-card p {
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
  transition: var(--transition-fast);
}

.exp-card:hover .tag {
  border-color: rgba(70, 197, 203, 0.4);
  background: var(--white);
  color: var(--navy-dark);
}

/* --- About & Business Section --- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-details h2 {
  margin-bottom: 1.5rem;
}

.about-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem;
  text-align: center;
}

.stat-card h4 {
  font-size: 2.5rem;
  color: var(--logo-teal-hover);
  margin-bottom: 0.25rem;
}

.stat-card p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-light);
}

/* --- Contact Page Specific --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-form-card {
  padding: 3rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--navy-dark);
  color: var(--white);
  border-color: var(--navy-medium);
}

.contact-info-card h2, 
.contact-info-card h3 {
  color: var(--white);
}

.contact-info-card h2::after {
  background-color: var(--logo-pink);
}

.contact-info-card p {
  color: #a5b4fc;
}

.contact-info-group {
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--logo-teal);
  fill: none;
  stroke-width: 2;
}

.contact-method-text h4 {
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 600;
}

.contact-method-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #94a3b8;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--logo-teal);
  border-color: var(--logo-teal);
  transform: translateY(-4px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* Contact Form Elements */
.form-group {
  margin-bottom: 1.75rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 19, 43, 0.15);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy-dark);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--logo-teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(70, 197, 203, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Interest Selectors (Checkboxes styled as playful toggle chips) */
.interest-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.interest-chip {
  position: relative;
}

.interest-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.interest-label {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  border: 1px solid rgba(11, 19, 43, 0.15);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-light);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.interest-chip input[type="checkbox"]:checked + .interest-label {
  background-color: var(--logo-teal);
  border-color: var(--logo-teal);
  color: var(--navy-dark);
  box-shadow: 0 4px 12px rgba(70, 197, 203, 0.25);
}

.interest-label:hover {
  border-color: var(--logo-teal);
  background-color: var(--logo-pink-light);
}

/* Success modal popup simulation */
.submission-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 43, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.submission-modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--white);
  padding: 3rem;
  border-radius: 32px;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px rgba(11, 19, 43, 0.25);
  border: 3px solid var(--logo-teal);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submission-modal.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--logo-teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--logo-teal);
}

.modal-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--logo-teal-hover);
  stroke-width: 3;
  fill: none;
}

/* --- Footer --- */
footer {
  background: rgba(11, 19, 43, 0.95);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 2px solid var(--logo-pink);
  backdrop-filter: blur(10px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--logo-pink);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: #94a3b8;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--logo-pink);
  padding-left: 5px;
}

.footer-contact p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 0;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero-wrapper { gap: 2.5rem; }
  .contact-grid { gap: 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-logo-frame {
    max-width: 280px;
    margin: 0 auto;
    transform: none;
    animation: float-logo-mobile 5s infinite ease-in-out;
  }
  
  @keyframes float-logo-mobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .hero-logo-frame img {
    max-width: 100%;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .nav-menu {
    gap: 1rem;
  }
  .brand {
    font-size: 1.3rem;
  }
  .brand img {
    height: 32px;
  }
}
