/* --- GLOBAL RESET & VARIABLES --- */
.mobile-toggle {
    display: none; /* HIDDEN BY DEFAULT ON ALL SCREENS */
}
/* Applies uniform resetting clean up to all elements */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
	/* Creation and setting of variables to color values */
        :root {
		--color-primary: #e6b91d;
		--color-primary-dark: #d1a005;
		--color-primary-light: #fff9e4;
		--color-meteorite: #ffdb85;
		--color-dark: #1d1e20;
		--color-gray: #727586;
		--color-gray-light: #f2f3f6;
		--color-light: #fff;
		--color-success: #00b090;
		--color-warning: #ffcd35;
        }

	/* navigation stick above page & styling */
        nav {
 	    background: #1a0b2e;
	    opacity: 0.87
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
        }
        
	/* Sets the navigation bar horizontally */
        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
        }
	
        /* Spacing within navigation bar so they don't all get sandwiched into one word */
        nav a {
            display: block;
            color: var(--color-light);
            text-decoration: none;
            padding: 15px 25px;
            transition: background-color 0.3s ease;
            font-weight: 500;
        }
        
	/* Reponsive hover for the words in the nav bar */
        nav a:hover {
            background-color: var(--color-primary);
        }
        



	/* main body edits for visual */
        body {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            color: var(--color-dark);
            background-color: var(--color-light);
            line-height: 1.6;
	    
        }


  
        /* Header Section */
        .header {
            background-color: #6b5b8a;
            color: var(--color-light);
            padding: 60px 20px;
            text-align: center;

        }

        .header h1 {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            font-size: 48px;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .header p {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            font-size: 18px;
            color: var(--color-meteorite);
        }

        body {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            line-height: 1.6;
        }


        /* Container or Our Story*/
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* About Section */
        .about-section {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            padding: 60px 20px;
            background: var(--color-light);
        }

        .section-title {
            font-size: 36px;
            color: var(--color-dark);
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--color-dark);
            border-radius: 2px;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
            margin-bottom: 60px;
        }

        .about-text h2 {
            font-size: 28px;
            color: var(--color-dark);
            margin-bottom: 15px;
        }

        .about-text p {
            font-size: 16px;
            color: var(--color-dark);
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .about-image {
            width: 100%;
            height: 400px;
            background: var(--color-gray-light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Mission Section or Our Mission*/
        .mission-section {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            background: #D3D3D3;
            padding: 60px 20px;
        }

        .mission-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .mission-card {
            background: #1a0b2e;
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .mission-card:hover {
            transform: translateY(-5px);
        }

        .mission-icon {
            font-size: 48px;
            margin-bottom: 15px;
            color: var(--color-primary);

        }

        .mission-card h3 {
            font-size: 20px;
            color: var(--color-light);
            margin-bottom: 10px;
        }

        .mission-card p {
            font-size: 14px;
            color: var(--color-light);
            line-height: 1.6;
        }

        /* Team Section or Our Team */
        .team-section {
            padding: 60px 20px;
            background: var(--color-light);
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;

        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .team-member {
            background: var(--color-light);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
        }

        .team-member:hover {
            transform: translateY(-5px);
        }

        .team-image {
            width: 100%;
            height: 300px;
            background: var(--color-gray-light);
            overflow: hidden;
        }

        .team-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .team-info {
            padding: 20px;
            text-align: center;
	    background: #1a0b2e;
        }

        .team-info h3 {
            font-size: 18px;
            color: var(--color-light);
            margin-bottom: 5px;
        }

        .team-info p {
            font-size: 14px;
            color: var(--color-gray);
        }


        /* Contact Section or Get in Touch */
        .contact-section {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            background: #D3D3D3;
            padding: 60px 20px;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        .contact-info {
            background: #1a0b2e;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

        .contact-info h3 {
            font-size: 20px;
            color: var(--color-light);
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 14px;
            color: var(--color-light);
            margin-bottom: 15px;
        }

        .contact-info a {
            color: var(--color-primary);
            text-decoration: none;
            font-weight: 600;
        }

        .contact-info a:hover {
            text-decoration: underline;
        }

	/* The issue is here, as footer is caused inconsistent.*/
        .social-links {
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            background: var(--color-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--color-light);
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }




	/* Footer below everything */
        footer {
 	    background: #1a0b2e;
            color: var(--color-light);
            padding: 40px 20px;
            text-align: center;
            margin-top: 5px;
        }
        
	/* First paragraph of the footer section */
        footer p {
	    font-family: "Liberation Mono", "Courier New", Courier, monospace;
            margin-bottom: 10px;
            opacity: 0.9;
        }
        
	/* Colors for as such at rest or non-engaged */
        footer a {
            color: var(--color-meteorite);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
	/* animation for the footer section */
        footer a:hover {
            color: var(--color-primary-light);
        }
        
	/* vertical spacing between footer information and button */
        .social-links {
            margin-top: 20px;
        }
        
	/* Colors for as such at rest or non-engaged */
        .social-links a {
            display: inline-block;
            margin: 0 10px;
            padding: 8px;
            background-color: var(--color-primary);
            border-radius: 5px;
            transition: background-color 0.3 ease, transform 0.3s ease;
        }

	/* animation for the social media links section on hover */
	.social-links a img {
		width: 24px;
		height: 24px;
		display: block;
		filter: brightness(1);
		transition: filter 0.3 ease;
	}

        /* animation for the media links section */
        .social-links a:hover {
        background-color: var(--color-light);
	    transform: scale(1.1);
    }

	.social-links a: hover img {
		filter: brightness(1.2);
	}
        
/* --- MOBILE STYLES (768px AND BELOW) --- */
@media (max-width: 768px) {
    
    /* --- CRITICAL FIX FOR BACKGROUND ZOOMING --- */
    header {
        background-attachment: scroll !important; /* Stops the zoom/jump glitch */
        background-position: center top !important; /* Locks image to top */
        background-size: cover !important;
        padding: 180px 20px; /* Adjusted padding for mobile view */
    }

    /* 1. The Custom Hamburger Button */
    .mobile-toggle {
        display: block !important;
        position: absolute;
        top: 18px;
        right: 25px;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
        padding: 0;
        -webkit-appearance: none;
        appearance: none;
    }

    /* The 3 Lines (Bars) */
    .mobile-toggle .bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--color-light);
        margin: 5px 0;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* Transform to 'X' */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--color-primary);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--color-primary);
    }

    /* 2. The Menu List */
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #121212;
        padding: 0;
        margin: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.1);
        justify-content: center;
        align-items: center;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        max-height: 80vh;
        overflow-y: auto;
    }

    nav ul.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        justify-content: center;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 18px 0;
        font-size: 18px;
        color: var(--color-light);
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
        font-weight: 500;
    }

    nav a:hover {
        background-color: rgba(230, 185, 29, 0.1);
        color: var(--color-primary);
    }  
	/* --- Header Section --- */
  	.header {
    	text-align: center;
    	padding: 60px 20px;
  	}

  	.header h1 {
    	font-size: 2rem;
    	margin-bottom: 10px;
  	}

  	.header p {
    	font-size: 1.1rem;
  	}
  /* --- About Section (Our Story) --- */
  .about-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .about-text {
    order: 1; /* Text on top */
  }

  .about-image {
    order: 2; /* Image on bottom */
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
    height: 300px;
    border-radius: 8px;
  }

  .about-text h2 {
    font-size: 1.6rem;
    margin-top: 0;
  }

  .about-text p {
    line-height: 1.6;
    font-size: 1rem;
  }

  /* --- Mission Section --- */
  .mission-section {
    padding: 40px 0;
  }

  .mission-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mission-card {
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }

  .mission-icon {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  /* --- Team Section --- */
  .team-section {
    padding: 40px 0;
  }

  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-image {
    width: 100%;
    max-width: 250px; /* Limit image size on mobile */
    margin-bottom: 15px;
  }

  .team-image img {
    width: 100%;
    height: auto;
    border-radius: 50%; /* Keep circular if desired, or remove */
  }

  .team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
  }

  /* --- Contact Section --- */
  .contact-section {
    padding: 40px 0;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-info {
    text-align: center;
  }

  .social-links img {
    width: 30px; /* Smaller icons for mobile */
    height: 30px;
    margin: 5px;
  }

@media (min-width: 769px) {
    .mobile-toggle {
        display: none !important;
    }
}




