:root {
    --rfh-blue: #004a99;
    --rfh-red: #e31e24;
    --rfh-dark: #1a1a1a;
    --text-gray: #555;
    --light-bg: #f8f9fa;
    --white: #FFFFFF;
    --overlay-color: rgba(26, 26, 26, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--rfh-dark);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.divider {
    height: 2px;
    width: 60px;
    background-color: var(--rfh-red);
    margin: 20px auto;
    opacity: 1;
}

/* Top Bar */
.top-bar {
    background-color: var(--rfh-blue);
    padding: 10px 0;
    color: var(--white);
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-left span {
    margin-right: 20px;
}

.social-right a {
    color: var(--white);
    margin-left: 15px;
}

.social-right a:hover {
    color: var(--rfh-dark);
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-left span {
        display: block;
        margin: 5px 0;
    }
}

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.logo img {
    max-width: 180px;
    height: auto;
    width: 100%;
    object-fit: contain;
   
}



.logo-icon {
    font-size: 24px;
    color: var(--rfh-red);
    /* Red cross */
    border: 2px solid var(--rfh-red);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}



.company-name {
    font-weight: 700;
    color: var(--rfh-blue);
    /* Blue text */
    letter-spacing: 1px;
}

.company-suffix {
    font-size: 0.8rem;
    color: var(--rfh-red);
    font-weight: 600;
    letter-spacing: 2px;
}

#nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

#nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--rfh-blue);
}

#nav-menu a:hover,
#nav-menu a.active {
    color: var(--rfh-blue);
}

.btn-appointment {
    background-color: var(--rfh-red);
    color: var(--white) !important;
    padding: 10px 20px;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-appointment:hover {
    background-color: #c01a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 30, 36, 0.3);
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
.hero {
    position: sticky;
    top: 0;
    height:90vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 10;
}

.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-P {
    display: flex !important;       
    justify-content: center !important; 
    align-items: center !important;
    text-align: center;
    width: 100%;                    
    min-height: 50px; 
    text-transform: italic;              
}

.page-P p {
    margin: 0 !important;          
    padding: 0;
    color:gray;
    font-size: 3.5rem;
    font-weight: 700;
    font-style: italic;
}

.infop{
    border: 1px solid black;
    padding: 20px;           
    margin: 10px;            
}

.infop-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--rfh-blue);
    margin-bottom: 15px;
}

.infop-content p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.read-more-btn {
    background-color: var(--rfh-blue);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more-btn:hover {
    background-color: var(--rfh-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.read-more-content {
    display: none;
}




/* Appointment Section */
.appointment {
    position: relative;
    padding: 100px 0;
    background: url('Images/appointment_bg.png') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
}

.appointment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.164);
    /* Deep blue overlay */
    z-index: 1;
}

.appointment .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.appointment h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appointment p {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.appointment-form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--rfh-blue);
}

.form-group select {
    color: rgba(255, 255, 255, 0.7);
    /* Placeholder colorish */
}

.form-group select option {
    background-color: var(--rfh-dark);
    color: var(--white);
}

.full-width {
    grid-column: span 3;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

.btn-submit {
    width: 100%;
    background-color: var(--rfh-red);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #c01a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(227, 30, 36, 0.3);
}

/* Footer */

.footer {
    background-color: var(--rfh-dark);
    color: white;
    padding: 50px 0 30px;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section i {
    margin-right: 10px;
    color: var(--rfh-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive for Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* Responsive */
@media (max-width: 992px) {
   

   

    
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    #nav-menu {
        position: absolute;
        top: 70px;
        /* Header height */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
        /* Hidden by default */
        text-align: center;
        padding: 20px 0;
    }

    #nav-menu.active {
        display: block;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .hero {
        flex-direction: column;
        height: 80vh;
        min-height: 80vh;
        background-position: center center !important;
        background-size: cover !important;
        background-attachment: fixed;
    }

    .hero-content {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

   

    .appointment-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    .page-P p {
        font-size: 2rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 800;
        
    }
}
