==================================================
  DDOMAINS.IN — PHP Website
  Complete multi-page website with config system,
  currency converter & blue theme
==================================================

PAGES INCLUDED
--------------
  index.php          - Homepage (domain search + combo offers + hosting plans)
  web-hosting.php    - Web Hosting plans + features + FAQ
  vps-hosting.php    - VPS Hosting plans + features
  email-hosting.php  - Email Hosting plans + features
  contact.php        - Contact form (PHP mail())
  privacy-policy.php - Privacy Policy
  tos.php            - Terms of Service

INCLUDES
--------
  includes/header.php  - Sticky header + loads config.php automatically
  includes/footer.php  - Footer + Currency Converter widget (INR ↔ USD)

ASSETS
------
  css/style.css    - Full stylesheet (blue theme + currency widget)
  config.php       - ★ CENTRAL CONFIG — edit this to update the whole site
  .htaccess        - Apache rewrite + security + cache

==================================================
  ★  HOW TO USE config.php
==================================================

Edit ONE file — config.php — to update across ALL pages:

  PORTAL_URL          → your WHMCS/portal base URL
  CLIENT_AREA_URL     → client login link
  DOMAIN_CHECK_URL    → domain search form action
  PHONE_RAW           → phone number (digits only, for tel: links)
  PHONE_DISPLAY       → phone number (formatted for display)
  EMAIL_SALES         → sales/support email address
  SITE_NAME           → your brand name
  SITE_URL            → your website URL
  HOSTING_STARTER_URL → "Add to Cart" link for Starter hosting
  HOSTING_PRO_URL     → "Add to Cart" link for Pro hosting
  HOSTING_BUSINESS_URL→ "Add to Cart" link for Business hosting
  VPS_LITE_URL        → VPS Lite order link
  VPS_PLUS_URL        → VPS Plus order link
  VPS_PREMIUM_URL     → VPS Premium order link
  COMBO_*_URL         → Domain + Hosting combo order links
  PRICE_*             → Domain TLD prices (displayed on homepage)
  HOSTING_*_PRICE     → Hosting plan prices
  VPS_*_PRICE         → VPS plan prices
  CURRENCY_FALLBACK_RATE → Offline fallback rate for converter (default: 0.012)

==================================================
  CURRENCY CONVERTER WIDGET
==================================================

A floating INR ↔ USD converter appears on every page (bottom-left).
  - Fetches LIVE rates from api.frankfurter.app (free, no API key)
  - Falls back to CURRENCY_FALLBACK_RATE in config.php if offline
  - Supports typing in either INR or USD fields
  - Quick-amount buttons: ₹499, ₹999, ₹1,999, ₹5,000, ₹10,000, ₹50,000
  - Closes on click outside or Escape key
  - Fully responsive (mobile-friendly)

TECH STACK
----------
  - PHP 7.4+ (compatible with PHP 8.x)
  - Bootstrap 5.3 (CDN)
  - Font Awesome 6.5 (CDN)
  - Google Fonts: Nunito + Open Sans (CDN)
  - Frankfurter.app API (free, no key needed)

REQUIREMENTS
------------
  - PHP 7.4 or higher
  - Apache / Nginx web server
  - mod_rewrite enabled (Apache) for clean URLs
  - PHP mail() configured for contact form to work

DEPLOYMENT STEPS
----------------
  1. Upload ALL files to your public_html / www root via FTP
  2. Edit config.php — change PORTAL_URL, PHONE_*, EMAIL_*, SITE_* etc.
  3. Ensure mod_rewrite is enabled on Apache
  4. Test the contact form after deployment
  5. Verify currency converter loads (needs internet from server)

CUSTOMISATION
-------------
  - Colours  : Edit :root variables at top of css/style.css
  - Branding : Set SITE_NAME, SITE_URL in config.php
  - Prices   : Update PRICE_*, HOSTING_*_PRICE, VPS_*_PRICE in config.php
  - Links    : Update PORTAL_URL and all *_URL constants in config.php
  - Contact  : Set EMAIL_SALES, PHONE_RAW, PHONE_DISPLAY in config.php

==================================================
