/* Main Styles for G⭑Nest Pre School */

/* Base Styles */
:root {
  /* Primary Colors */
  --primary: #4d89ff;
  --primary-light: #8db2ff;
  --primary-dark: #1a56cc;
  
  /* Secondary Colors */
  --secondary: #ff6b6b;
  --secondary-light: #ff9c9c;
  --secondary-dark: #cc3a3a;
  
  /* Accent Colors */
  --accent-yellow: #ffd166;
  --accent-green: #06d6a0;
  --accent-purple: #9966ff;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #343a40;
  --black: #212529;
  
  /* Success, Warning, Error */
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  
  /* Font Families */
  --font-heading: 'Baloo 2', cursive;
  --font-body:'Times New Roman', Times, serif;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-md: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  
  /* Spacing (8px grid) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;  /* 4px */
  --radius-md: 0.5rem;   /* 8px */
  --radius-lg: 1rem;     /* 16px */
  --radius-xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--dark-gray);
  background-color: var(--white);  
  margin: 0;
  padding: 0;
  overflow: auto;
  scrollbar-width: none; 
}
section, div, img {
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-3);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--space-3);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}
.section-title{
  margin-top: 100px;
  margin-bottom: 60px;
  font-family: "NSimSun", serif;
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--space-1);
}
.container1 {
  width: 100%;
  padding: 0 var(--space-1);
}
.header .container1 {
  height: 100px;
  align-items: center;
  justify-content: space-evenly;
}
.title {
  font-size: var(--font-size-3xl);
  font-family: "Sitka Text Semibold", serif;
  margin-bottom: var(--space-1);
  position: relative;
  color: #fd5049
}

.subtitle1{
  font-size: var(--font-size-3xl);
  font-family: "Sitka Text Semibold", serif;
  right: -10px;
  margin-bottom: var(--space-1);
  position: relative;
  color:#00a8ee;
}
.subtitle2{
  font-size: var(--font-size-3xl);
  font-family: "Sitka Text Semibold", serif;
  right: -15px;
  margin-bottom: var(--space-1);
  position: relative;
  color: #009f4b;
}
.subtitle {
  font-family:"Sitka Text Semibold", serif;
  font-size: var(--font-size-lg);
  margin-bottom: -10px;
  color: rgb(233, 232, 228);
  margin-left: 25px;
}

.btn {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-body);
  font-size: var(--font-size-md);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(77, 137, 255, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(77, 137, 255, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(255, 107, 107, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(255, 107, 107, 0.3);
}

.highlight {
  color: var(--primary);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-3);
}

label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 600;
  color: var(--dark-gray);
}

input, select, textarea {
  width: 100%;
  padding: var(--space-2);
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--font-size-md);
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  width: 100%;
  border-color: var(--primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #08185ec4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: var(--space-2) 0;
  border-radius: 0 0 12px 12px;
}

.header .container {
  display: flex;
  height: 70px;
  align-items: center;
}

.logo-container {
  display: flex;
  margin-left: 25px;
  align-items: center;
  height: 80px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  margin-right: var(--space-2);
  object-fit: cover;
}


.main-nav .nav-list {
  display: flex;
}

.nav-item {
  margin-left: var(--space-3);
}

.nav-link {
  font-family: "Copperplate Gothic Bold", "Copperplate", serif;
  color: wheat;
  font-weight: 600;
  margin-right: 7px;
  position: relative;
  padding: var(--space-1) var(--space-1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--light-gray);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover::after {
  width: 100%;
}
.contact-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #d32b25; /* WhatsApp green, change as needed */
  color: white;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.contact-button:hover {
  transform: scale(1.1);
  background-color: #47cf35;
}

/* Responsive tweaks for very small devices (optional) */
@media (max-width: 480px) {
  .contact-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: var(--primary);
  border-radius: var(--radius-full);
}

/* Footer */
.footer {
  background-color: rgb(53, 21, 68);
  font-family: "Bookman Old Style", serif;
  color: var(--white);
  padding: var(--space-6) 0 var(--space-3);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  font-family: "Bookman Old Style", serif;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.footer-logo {
  display: flex ;
  flex-direction:column;
}

.footer-logo .logo {
  width: 40px;
  height: 40px;
}

.footer-logo h2 {
  font-size: var(--font-size-xl);
  font-family: "Bookman Old Style", serif;
  color: var(--white);
}

.footer-links h3,
.footer-newsletter h3 {
  color: var(--white);
  margin-bottom: var(--space-2);
  font-family: "Bookman Old Style", serif;
  font-size: var(--font-size-lg);
}

.footer-links ul li {
  margin-bottom: var(--space-1);
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.newsletter-form {
  display: flex;
  margin-top: var(--space-2);
}

.newsletter-form input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: none;
}

.newsletter-form .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-sm);
}

/* Sections General Styling */
section {
  padding: var(--space-6) 0;
}

#home {
  padding-top: calc(var(--space-7) + 50px);
}