/*Mobile First approach*/
@import url('https://fonts.googleapis.com/css2?family=Cousine&family=Kumbh+Sans:wght@100..900&display=swap');
* {
    box-sizing: border-box;
    }

html, body {
    margin: 0;
    padding: 0;
    background: #2C2C2C;
    overflow-x: hidden;
	min-height: 100vh;
	width: 100%;
	position: relative
    }
@view-transition {
    navigation: auto;
}

/* Smooth page entrance animation */
body {
    animation: pageLoad 0.4s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom view transitions for supported browsers */
::view-transition-old(root) {
    animation: slideOut 0.3s cubic-bezier(0.4, 0, 1, 1);
}

::view-transition-new(root) {
    animation: slideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes slideOut {
    to {
        transform: translateX(-30px);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
}

/* Loading state for fallback */
.page-loading {
    opacity: 0.8;
    pointer-events: none;
    transition: opacity 0.2s ease;
}


.iframe-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.iframe-container iframe {
    width: 100%;
    height: 900px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Enhanced hover effects for navigation */
nav a {
    transition: all 0.2s ease;
}

nav a:hover {
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(6, 77, 185, 0.3);
}

h1, h2 {
    color: white;
    margin: 0;
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    }

h1 {
    font-weight: 800;
    font-size: clamp(2rem, 8vw, 4rem);
    }

h2 {
    font-size: clamp(1.25rem, 5vw, 2.5rem);
    font-weight: 600;
    }

p {
    color: white;
    margin: 0;
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.5;
    }

a { 
    color: #064DB9;
    font-weight: 900;
    text-decoration: none;
    }

.banner{
	position: relative;
	width: 100vw;                      
	height: 50vh;
	min-height: 300px;
	margin-left: calc(-50vw + 50%);   
	background-image: url("images/background_nomtn.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: -1px;
	margin-bottom: 0;
	z-index: 10;
    }

.inc{
	text-align: center;
	font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
	line-height: 0.1;
  }

.inc p{
	font-weight: 700;
	text-align: center;
  }


#corner-logo{
    width: 140px;
    height: auto;
    flex-shrink: 0;
    }

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
	flex-shrink: 0;
    }

#background {
    height: 70vh; 
    display: flex;
    flex-direction: column;
    background-image: url("images/rodeo.png");
    background-repeat: no-repeat;
    background-position: 60% 25%;
    background-size: cover;
    padding: 1rem;
    }

#contact_sect{
    width: 100%;
    background-color: #fff;
    padding-bottom: 0;
	position: relative;
	overflow: hidden;
}

#social-group {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 2rem 0 1rem 0;
	margin: 0 auto;
	max-width: none; 
	position: relative;
	z-index: 100;
	flex-shrink: 0;
}

.fa {
	flex: 0 0 64px;
	font-size: 1.8rem;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center; 
  	line-height: 1;
  	position: relative;
	box-sizing: border-box;
	vertical-align: middle;
}

.fa i{
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.fa:hover {
	opacity: 0.6;
	transform: translateY(-6px);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 80%;
    background: #2C2C2C;
    border-radius: 8px;
    border: none;
    }

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    }

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    }

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    }

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    }

#page-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #2C2C2C;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    }

#page-nav.active {
    right: 0;
    }

#page-nav a {
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    }

#page-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    }

.contact_flex {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Equal 50/50 split */
        min-height: calc(100vh - 300px);
        max-width: none;
        margin: 0;
        align-items: stretch; /* Changed from center to stretch */
        padding: 0; /* Remove all padding for wall-to-wall effect */
        gap: 0; /* Remove gap for true wall-to-wall */
        width: 100vw; /* Full viewport width */
        margin-left: calc(-50vw + 50%); /* Center the full-width container */
    }


.head_text{
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 2rem 1rem;
    flex-direction: column; 
    align-items: flex-start; 
    }

.head_text p{
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    font-weight: 900;
    font-size: 30px;
    width: 100%;
    color: #000;
    text-align: left;
    margin: 0;
    }

.text-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 2rem;
        background-color: #fff;
    }


/* Form styling - add this to your existing CSS */

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: #f8f9fa;
    height: 100%;
    justify-content: center;
    align-items: stretch;
}

form input,
form textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
    outline: none;
}

form input:focus,
form textarea:focus {
    border-color: #064DB9;
    box-shadow: 0 0 0 3px rgba(6, 77, 185, 0.1);
    transform: translateY(-2px);
}

form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
}

form button {
    padding: 1rem 2rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 2px;
    font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    min-width: 300px;
}

form button:hover {
    background-color: #0556a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 77, 185, 0.3);
}

form button:active {
    transform: translateY(0);
}

/* Placeholder styling */
form input::placeholder,
form textarea::placeholder {
    color: #6c757d;
    font-weight: 300;
}

@media (min-width: 1025px){
     #corner-logo {
    width: 200px;
    }

    .banner{
        padding: 0;
    }

	.nav-toggle {
		display: none;
	}

    #page-nav {
		position: static;
		width: auto;
		height: auto;
		background: transparent;
		backdrop-filter: none;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 1.5rem;
		padding: 0;
        padding-top: 10px;
		right: 0;
		margin-right: 200px;
		}

  #page-nav a {
		white-space: nowrap;
		font-size: 1rem;
		padding: 2rem 0.5rem;
		}

    .head_text p{
        font-family: 'Kumbh Sans', Arial, Helvetica, sans-serif;
        font-weight: 900;
        font-size: 2.9rem !important;
        width: 100%;
        color: #000;
        text-align: left;
        margin: 0;
        padding: 2rem;
        margin-left: 2rem;
        }

   #contact_sect {
        width: 100%;
        background-color: #fff;
        padding-bottom: 0;
        position: relative;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (max-width: 500px) and (orientation: portrait){    
    .contact_flex {
        grid-template-columns: 1fr; /* Single column stack */
        min-height: auto;
    }

    #social-group {
        gap: 0.5rem;
        max-width: calc((64px * 3) + (1rem*2)); 
    }
    
    .iframe-container {
        padding: 1rem;
        max-width: 100vw;
    }
    
    .iframe-container iframe {
        height: 120vh;
        border-radius: 4px;
    }

    .head_text p{
        text-align: center;
    }
}

@media screen and (min-width: 501px) and (max-width: 767px) and (orientation: portrait) {
    .contact_flex {
        grid-template-columns: 1fr; /* Single column stack */
        min-height: auto;
    }

    #social-group {
        gap: 0.5rem;
        max-width: calc((64px * 3) + (1rem*2)); 
    }
    
    .iframe-container {
        padding: 1rem;
        max-width: 100vw;
    }
    
    .iframe-container iframe {
        height: 120vh;
        border-radius: 4px;
    }

    .head_text p{
        text-align: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .contact_flex {
        grid-template-columns: 1fr; /* Single column stack */
        min-height: auto;
    }

    #social-group {
        gap: 0.5rem;
        max-width: calc((64px * 3) + (1rem*2)); 
    }
    
    .iframe-container {
        padding: 0.5rem;
        max-width: 100vw;
    }
    
    .iframe-container iframe {
        height: 80vh;
        border-radius: 2px;
    }

    .head_text p{
        text-align: center;
    }
}